|
@ -158,7 +158,7 @@ public class CustomerServiceImpl extends BaseServiceImpl<CustomerDao, CustomerEn |
|
|
//2.查询客户的根级组织对应的管理员角色列表,批量查询
|
|
|
//2.查询客户的根级组织对应的管理员角色列表,批量查询
|
|
|
StaffRoleFormDTO staffRoleFormDTO = new StaffRoleFormDTO(); |
|
|
StaffRoleFormDTO staffRoleFormDTO = new StaffRoleFormDTO(); |
|
|
staffRoleFormDTO.setOrgIds(rootAgencyIds); |
|
|
staffRoleFormDTO.setOrgIds(rootAgencyIds); |
|
|
staffRoleFormDTO.setRoleKey(RoleKeyConstants.ROLE_KEY_MANAGER);// TODO ,此处应该将所有的角色key放到EpmetUser的client中
|
|
|
staffRoleFormDTO.setRoleKey(RoleKeyConstants.ROLE_KEY_ROOT_MANAGER);// TODO ,此处应该将所有的角色key放到EpmetUser的client中
|
|
|
Result<Map<String, List<GovStaffRoleResultDTO>>> managersResult = epmetUserFeignClient.getStaffsInRoleOfOrgs(staffRoleFormDTO); |
|
|
Result<Map<String, List<GovStaffRoleResultDTO>>> managersResult = epmetUserFeignClient.getStaffsInRoleOfOrgs(staffRoleFormDTO); |
|
|
if (managersResult.success()) { |
|
|
if (managersResult.success()) { |
|
|
Map<String, List<GovStaffRoleResultDTO>> rootAgencyManagerMap = managersResult.getData(); |
|
|
Map<String, List<GovStaffRoleResultDTO>> rootAgencyManagerMap = managersResult.getData(); |
|
|