|
@@ -278,7 +278,8 @@ module.exports = app => {
|
|
|
throw '该审核人不存在';
|
|
|
}
|
|
|
await this._syncOrderByDelete(transaction, stageId, auditor.order, times);
|
|
|
- await transaction.delete(this.tableName, condition);
|
|
|
+ // 移除整个流程的人
|
|
|
+ await transaction.delete(this.tableName, { sid: stageId, order: auditor.order, times});
|
|
|
await transaction.commit();
|
|
|
} catch (err) {
|
|
|
await transaction.rollback();
|