Browse Source

修复bug

laiguoran 3 years ago
parent
commit
96252e139b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/datacollect_tender.js

+ 1 - 1
app/service/datacollect_tender.js

@@ -55,7 +55,7 @@ module.exports = app => {
         // }
 
         async getList(pid) {
-            return await this.db.select(this.tableName, { pid });
+            return await this.db.select(this.tableName, { where: { pid } });
         }
 
         async updateList(pid, tids) {