|
@@ -2155,7 +2155,7 @@ module.exports = app => {
|
|
|
}
|
|
|
|
|
|
async getCheckingList(tid, uid) {
|
|
|
- const sql = 'select c.* from ?? as c LEFT JOIN ?? as ca ON c.cid = ca.cid where c.tid = ? and ca.status = ? and ca.uid = ?';
|
|
|
+ const sql = 'select c.* from ?? as c LEFT JOIN ?? as ca ON c.cid = ca.cid where c.tid = ? and ca.status = ? and ca.uid = ? and ca.usite != 0';
|
|
|
const sqlParams = [this.tableName, this.ctx.service.changeAudit.tableName, tid, audit.change.status.checking, uid];
|
|
|
const list = await this.db.query(sql, sqlParams);
|
|
|
const returnList = [];
|