MaiXinRong hai 1 ano
pai
achega
885ac99602
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      app/service/stage_audit.js

+ 9 - 0
app/service/stage_audit.js

@@ -557,6 +557,15 @@ module.exports = app => {
                     }
                     // 上报/审批 - 检查三方特殊推送
                     await this.ctx.service.specMsg.addStageMsg(transaction, pid, this.ctx.stage, pushOperate.stage.flow);
+                } else {
+                    // 同步 期信息
+                    await transaction.update(this.ctx.service.stage.tableName, {
+                        id: stageId,
+                        status: auditConst.status.checking,
+                        ...stageTp,
+                        tp_history: JSON.stringify(this.ctx.stage.tp_history),
+                        cache_time_r: this.ctx.stage.cache_time_l,
+                    });
                 }
                 await transaction.commit();
             } catch (err) {