|
@@ -1070,7 +1070,7 @@ module.exports = app => {
|
|
|
yf_tp: yfPay.tp,
|
|
|
sf_tp: sfPay.tp,
|
|
|
};
|
|
|
- this.ctx.stage.tp_history.push({ times, order: curAudit.order, ...stageTp });
|
|
|
+ this.ctx.stage.tp_history.push({ times, order: curAudit.order, ...stageTp }, { times, order: curAudit.order, ...stageTp });
|
|
|
// 同步 期信息
|
|
|
await transaction.update(this.ctx.service.stage.tableName, {
|
|
|
id: stageId,
|
|
@@ -1209,7 +1209,7 @@ module.exports = app => {
|
|
|
yf_tp: yfPay.tp,
|
|
|
sf_tp: sfPay.tp,
|
|
|
};
|
|
|
- this.ctx.stage.tp_history.push({ times: times - 1, order: curAudit.order, ...stageTp });
|
|
|
+ this.ctx.stage.tp_history.push({ times: curAudit.times, order: curAudit.order + 1, ...stageTp }, { times: curAudit.times, order: curAudit.order + 2, ...stageTp });
|
|
|
await transaction.update(this.ctx.service.stage.tableName, {
|
|
|
id: stageId,
|
|
|
times: times - 1,
|