|
@@ -55,7 +55,7 @@ module.exports = app => {
|
|
}
|
|
}
|
|
|
|
|
|
async getList(pid) {
|
|
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) {
|
|
for (const l of list) {
|
|
if (l.uid) {
|
|
if (l.uid) {
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(l.uid);
|
|
const accountInfo = await this.ctx.service.projectAccount.getDataById(l.uid);
|