|
@@ -606,6 +606,8 @@ module.exports = app => {
|
|
|
status: auditConst.status.checking,
|
|
|
};
|
|
|
await transaction.update(this.ctx.service.change.tableName, updateData, options);
|
|
|
+ // 清空audit_amount
|
|
|
+ if(times > 1) await transaction.update(this.ctx.service.changeAuditList.tableName, { audit_amount: null }, options);
|
|
|
|
|
|
// 添加短信通知-需要审批提醒功能
|
|
|
const sms = new SMS(this.ctx);
|