MaiXinRong 2 лет назад
Родитель
Сommit
154c848d4c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/service/cooperation_confirm.js

+ 1 - 1
app/service/cooperation_confirm.js

@@ -120,7 +120,7 @@ module.exports = app => {
         }
 
         async cancelLock(stage, uid, transaction) {
-            await transaction.update(this.tableName, { lock: 0 }, { sid: stage.id, times: stage.curTimes, uid });
+            await transaction.update(this.tableName, { locked: 0 }, { where: { sid: stage.id, times: stage.curTimes, uid } });
         }
 
         async getLockedId(tender, stage) {