浏览代码

批量上报bug

ellisran 1 年之前
父节点
当前提交
c9e2a7a744
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/change.js

+ 1 - 1
app/service/change.js

@@ -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 = [];