|
@ -736,12 +736,17 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
return new ArticleGridResultDTO(); |
|
|
return new ArticleGridResultDTO(); |
|
|
} |
|
|
} |
|
|
//2:查询当前工作人员的所属组织,以此作为根节点的起始位置
|
|
|
//2:查询当前工作人员的所属组织,以此作为根节点的起始位置
|
|
|
LoginUserDetailsFormDTO loginUserDetailsFormDTO = new LoginUserDetailsFormDTO(); |
|
|
/*LoginUserDetailsFormDTO loginUserDetailsFormDTO = new LoginUserDetailsFormDTO(); |
|
|
loginUserDetailsFormDTO.setApp("gov"); |
|
|
loginUserDetailsFormDTO.setApp("gov"); |
|
|
loginUserDetailsFormDTO.setClient("wxmp"); |
|
|
loginUserDetailsFormDTO.setClient("wxmp"); |
|
|
loginUserDetailsFormDTO.setUserId(formDTO.getStaffId()); |
|
|
loginUserDetailsFormDTO.setUserId(formDTO.getStaffId()); |
|
|
Result<LoginUserDetailsResultDTO> resultDTOResult = epmetUserOpenFeignClient.getLoginUserDetails(loginUserDetailsFormDTO); |
|
|
Result<LoginUserDetailsResultDTO> resultDTOResult = epmetUserOpenFeignClient.getLoginUserDetails(loginUserDetailsFormDTO); |
|
|
String agencyId = resultDTOResult.getData().getOrgIdPath().substring(resultDTOResult.getData().getOrgIdPath().lastIndexOf(":") + NumConstant.ONE); |
|
|
String agencyId = resultDTOResult.getData().getOrgIdPath().substring(resultDTOResult.getData().getOrgIdPath().lastIndexOf(":") + NumConstant.ONE);*/ |
|
|
|
|
|
CustomerStaffInfoCacheResult staffInfo = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getStaffId()); |
|
|
|
|
|
if (null == staffInfo) { |
|
|
|
|
|
throw new EpmetException("获取工作人员信息失败"); |
|
|
|
|
|
} |
|
|
|
|
|
String agencyId = staffInfo.getAgencyId(); |
|
|
//存放树的每一个节点对象,用于将同一节点下的网格列表合并(主键:agencyId 值:节点对象)
|
|
|
//存放树的每一个节点对象,用于将同一节点下的网格列表合并(主键:agencyId 值:节点对象)
|
|
|
Map<String, ArticleGridResultDTO> map = new HashMap<>(); |
|
|
Map<String, ArticleGridResultDTO> map = new HashMap<>(); |
|
|
//3:循环可下线网格列表,根据pids组织每一个树节点对象信息
|
|
|
//3:循环可下线网格列表,根据pids组织每一个树节点对象信息
|
|
|