diff --git a/api/app/lib/controllers/projectRegime/projectSituation.js b/api/app/lib/controllers/projectRegime/projectSituation.js index 8763a2b..108233d 100644 --- a/api/app/lib/controllers/projectRegime/projectSituation.js +++ b/api/app/lib/controllers/projectRegime/projectSituation.js @@ -216,7 +216,7 @@ async function addPosition(ctx, next) { throw '生成二维码失败' } } else { - await models.Point.update({ pointData }, { + await models.Point.update(pointData, { where: { id: data.id, }