|
@@ -1097,7 +1097,7 @@ module.exports = app => {
|
|
|
};
|
|
|
const uidList = ctx.helper._.uniq(ctx.helper._.map(allCertList, 'uid'));
|
|
|
const accountList = uidList.length > 0 ? await ctx.service.projectAccount.getAllDataByCondition({
|
|
|
- where: { project_id: ctx.session.sessionProject.id, enable: 1, id: ctx.helper._.uniq(ctx.helper._.map(allCertList, 'uid')) },
|
|
|
+ where: { project_id: ctx.session.sessionProject.id, enable: 1, id: uidList },
|
|
|
columns: ['id', 'name', 'company', 'role', 'enable', 'is_admin', 'account_group', 'mobile'],
|
|
|
}) : [];
|
|
|
renderData.accountList = accountList;
|