MaiXinRong vor 2 Jahren
Ursprung
Commit
154c848d4c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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) {