|
@@ -126,6 +126,7 @@ public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company> impl
|
|
|
qw.eq("company_type", Constant.ASSETS_COMPANY);
|
|
|
} else {
|
|
|
//此时是项目经理创建其他用户
|
|
|
+
|
|
|
User admin = userMapper.selectOne(new QueryWrapper<User>().eq("id", user.getParentId()));
|
|
|
qw.eq("company_type", Constant.PRODUCER_COMPANY).or().eq("id", admin.getCompanyId());
|
|
|
}
|