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