|
@@ -386,7 +386,7 @@ module.exports = app => {
|
|
|
const sqlParam = [this.tableName, this.ctx.service.projectAccount.tableName, tenderId, times];
|
|
const sqlParam = [this.tableName, this.ctx.service.projectAccount.tableName, tenderId, times];
|
|
|
const result = await this.db.query(sql, sqlParam);
|
|
const result = await this.db.query(sql, sqlParam);
|
|
|
for (const r of result) {
|
|
for (const r of result) {
|
|
|
- const auditor = await this.getDataByCondition({tender_id: tenderId, times: r.times, audit_order: r.max_order});
|
|
|
|
|
|
|
+ const auditor = await this.getDataByCondition({tender_id: tenderId, audit_id: r.audit_id, times: r.times, audit_order: r.max_order});
|
|
|
r.status = auditor.status;
|
|
r.status = auditor.status;
|
|
|
r.opinion = auditor.opinion;
|
|
r.opinion = auditor.opinion;
|
|
|
r.begin_time = auditor.begin_time;
|
|
r.begin_time = auditor.begin_time;
|