소스 검색

撤销,复现线上问题

laiguoran 3 년 전
부모
커밋
86a8fd8390
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/change_audit_list.js

+ 1 - 1
app/service/change_audit_list.js

@@ -829,7 +829,7 @@ module.exports = app => {
 
         async _findParents(transaction, tid, id, result) {
             const info = await transaction.get(this.ctx.service.changeLedger.tableName, { tender_id: tid, ledger_id: id });
-            if (info && this._.findIndex(result, { ledger_id: info.ledger_id }) === -1) {
+            if (info && this._.findIndex(result, { ledger_id: info.id }) === -1) {
                 result.push(info);
                 await this._findParents(transaction, tid, info.ledger_pid, result);
             } else {