From 3e30fd3d40753019dab46571da55f8651fb5d4fd Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Wed, 22 Feb 2023 14:21:07 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=82=B9=E4=BD=8D=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/projectRegime/projectSituation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }