|
@@ -124,7 +124,7 @@ module.exports = app => {
|
|
|
|
|
|
async _getLedgerService() {
|
|
|
try {
|
|
|
- if (this.ctx.tender.data.status === auditConst.ledger.status.checked) {
|
|
|
+ if (this.ctx.tender.data.ledger_status === auditConst.ledger.status.checked) {
|
|
|
const stageCount = this.ctx.service.stage.count({tid: this.ctx.tender.id});
|
|
|
if (stageCount === 0) {
|
|
|
const revise = await ctx.service.ledgerRevise.getLastestRevise(this.ctx.tender.id);
|