laiguoran пре 3 година
родитељ
комит
96252e139b
1 измењених фајлова са 1 додато и 1 уклоњено
  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) {