Explorar o código

期,重新审批问题

MaiXinRong %!s(int64=5) %!d(string=hai) anos
pai
achega
bc0e2ae6b4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/service/stage_audit.js

+ 1 - 0
app/service/stage_audit.js

@@ -641,6 +641,7 @@ module.exports = app => {
                 await transaction.insert(this.tableName, newAuditors);
 
                 // 复制一份最新数据给下一人
+                await this.ctx.service.stagePay.copyAuditStagePays(this.ctx.stage, this.ctx.stage.times, audit.order + 1, transaction);
                 await this.ctx.service.stagePay.copyAuditStagePays(this.ctx.stage, this.ctx.stage.times, audit.order + 2, transaction);
 
                 // 本期结束