|
@@ -199,6 +199,7 @@ module.exports = app => {
|
|
|
his_id,
|
|
|
});
|
|
|
await transaction.update(this.ctx.service.ledgerHistory.tableName, { id: his_id, valid: 0 });
|
|
|
+ if (revise.his_id > 0) await transaction.update(this.ctx.service.ledgerHistory.tableName, { id: revise.his_id, valid: 0 });
|
|
|
// 投资进度改变状态
|
|
|
await transaction.update(this.ctx.service.schedule.tableName, { revising: 0 }, { where: { tid: this.ctx.tender.id } });
|
|
|
await transaction.commit();
|