Procházet zdrojové kódy

删除本次审批时,清理金额缓存

MaiXinRong před 2 roky
rodič
revize
ca8906e88a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/service/stage_audit.js

+ 1 - 1
app/service/stage_audit.js

@@ -1645,7 +1645,7 @@ module.exports = app => {
                     times: nowTimes,
                     yf_tp: yfPay ? yfPay.tp : null,
                     sf_tp: sfPay ? sfPay.tp : null,
-                    tp_history: JSON.stringify(this.ctx.stage.tp_history),
+                    tp_history: JSON.stringify(this.ctx.stage.tp_history.filter(x => { return x.times <= nowTimes; })),
                     cache_time_l: time,
                     cache_time_r: time,
                 });