|
@@ -1438,7 +1438,9 @@ module.exports = app => {
|
|
|
this.ctx.service.change.tableName,
|
|
|
auditorId,
|
|
|
];
|
|
|
- return await this.db.query(sql, sqlParam);
|
|
|
+ const result = await this.db.query(sql, sqlParam);
|
|
|
+ // 去除la.`audit_order` = 0并la.`status` = auditConst.status.checked的数据
|
|
|
+ return result.filter(x => !(x.audit_order === 0 && x.status === auditConst.status.checked));
|
|
|
}
|
|
|
}
|
|
|
|