@@ -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) {