|
@@ -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) {
|