Browse Source

删除补齐

ellisran 1 year ago
parent
commit
a5cdf091ac
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/service/change_audit.js

+ 1 - 0
app/service/change_audit.js

@@ -665,6 +665,7 @@ module.exports = app => {
                     c_name: this.ctx.change.name,
                     c_name: this.ctx.change.name,
                 };
                 };
                 await this.ctx.helper.sendWechat(audit.uid, smsTypeConst.const.BG, smsTypeConst.judge.approval.toString(), wxConst.template.change, wechatData);
                 await this.ctx.helper.sendWechat(audit.uid, smsTypeConst.const.BG, smsTypeConst.judge.approval.toString(), wxConst.template.change, wechatData);
+                await this.transaction.delete(this.ctx.service.changeHistory.tableName, { cid });
                 await transaction.commit();
                 await transaction.commit();
             } catch (err) {
             } catch (err) {
                 await transaction.rollback();
                 await transaction.rollback();