MaiXinRong 3 months atrás
parent
commit
4198109726
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/sub_proj_controller.js

+ 1 - 1
app/controller/sub_proj_controller.js

@@ -32,7 +32,7 @@ module.exports = app => {
                 renderData.tenderList = await ctx.service.tender.getManageTenderList(ctx.session.sessionProject.id);
                 const accountList = await ctx.service.projectAccount.getAllDataByCondition({
                     columns: ['id', 'name', 'company', 'role', 'enable', 'is_admin', 'account_group', 'mobile'],
-                    where: { pid: ctx.session.sessionProject.id }
+                    where: { project_id: ctx.session.sessionProject.id }
                 });
                 renderData.accountList = accountList;
                 const unitList = await ctx.service.constructionUnit.getAllDataByCondition({ where: { pid: ctx.session.sessionProject.id } });