MaiXinRong 2 yıl önce
ebeveyn
işleme
777f110fd6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/service/stage_audit.js

+ 1 - 1
app/service/stage_audit.js

@@ -1067,7 +1067,7 @@ module.exports = app => {
 
                 // 更新标段计量数据缓存
                 const preFlow = stage.times > 1 ? await this.getLastestAuditors(stage.id, stage.times, auditConst.status.checkNo): null;
-                const curFlow = [{ aid: this.ctx.stage.user_id, order: 1, status: auditConst.status.uncheck}];
+                const curFlow = [{ aid: this.ctx.stage.user_id, audit_type: auditType.key.common, audit_order: 1, status: auditConst.status.uncheck}];
                 await this.ctx.service.tenderCache.updateStageCache4Flow(transaction, this.ctx.stage, stage.times === 1 ? auditConst.status.uncheck : auditConst.status.checkNo,
                     curFlow, preFlow, ledgerTp, stageTp);
                 // 上报/审批 - 检查三方特殊推送