MaiXinRong 2 년 전
부모
커밋
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) {