瀏覽代碼

bug修复

laiguoran 3 年之前
父節點
當前提交
86d29c4b30
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/datacollect_audit.js

+ 1 - 1
app/service/datacollect_audit.js

@@ -55,7 +55,7 @@ module.exports = app => {
         }
 
         async getList(pid) {
-            const list = await this.db.select(this.tableName, { pid });
+            const list = await this.db.select(this.tableName, { where: { pid } });
             for (const l of list) {
                 if (l.uid) {
                     const accountInfo = await this.ctx.service.projectAccount.getDataById(l.uid);