|
@@ -995,12 +995,11 @@ module.exports = app => {
|
|
|
yf_tp: yfPay.tp,
|
|
|
sf_tp: sfPay.tp,
|
|
|
};
|
|
|
- this.ctx.stage.tp_history.push({ times, order: curAudit.order, ...stageTp });
|
|
|
await transaction.update(this.ctx.service.stage.tableName, {
|
|
|
id: stageId,
|
|
|
times,
|
|
|
...stageTp,
|
|
|
- tp_history: JSON.stringify(this.ctx.stage.tp_history),
|
|
|
+ tp_history: JSON.stringify(this.ctx.stage.tp_history.filter(x => { return x.times < times; })),
|
|
|
cache_time_r: this.ctx.stage.cache_time_l,
|
|
|
status: times === 1 ? auditConst.status.uncheck : auditConst.status.checkNo,
|
|
|
});
|