|
@@ -122,7 +122,7 @@ module.exports = app => {
|
|
|
if (next) {
|
|
|
const info = await this.ctx.service.projectAccount.getAccountCacheData(next.audit_id);
|
|
|
info.status = checkType === auditConst.ledger.status.checkNo ? status : auditConst.ledger.status.uncheck;
|
|
|
- data.ledger_flow_cur_uid = next.id;
|
|
|
+ data.ledger_flow_cur_uid = next.audit_id;
|
|
|
data.ledger_flow_cur_info = JSON.stringify(info);
|
|
|
} else {
|
|
|
data.ledger_flow_cur_uid = 0;
|
|
@@ -221,6 +221,7 @@ module.exports = app => {
|
|
|
data.stage_flow_cur_info = JSON.parse(info);
|
|
|
}
|
|
|
data.stage_flow_cur_tp = JSON.stringify(tp);
|
|
|
+ console.log(data);
|
|
|
await transaction.update(this.tableName, data);
|
|
|
}
|
|
|
|