|
|
@ -728,6 +728,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao |
|
|
|
if (party) { |
|
|
|
//4.1:查询当前机关的网格列表以及所有下级机关的网格列表
|
|
|
|
//当前机关下网格列表
|
|
|
|
// 未隐藏的网格
|
|
|
|
List<AgencyGridListResultDTO> gridList = customerGridDao.selectAgencyGridList(agencyEntity.getId()); |
|
|
|
returnDTO.setGridList(gridList); |
|
|
|
//递归查询当前组织的下级组织以及每个下级组织对应的网格列表
|
|
|
@ -762,6 +763,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao |
|
|
|
List<ArticleGridResultDTO> subAgencyList = baseDao.selectAllSubAgency(subAgencyPids); |
|
|
|
if (subAgencyList.size() > NumConstant.ZERO) { |
|
|
|
for (ArticleGridResultDTO sub : subAgencyList) { |
|
|
|
//未隐藏的网格
|
|
|
|
List<AgencyGridListResultDTO> gridList = customerGridDao.selectAgencyGridList(sub.getAgencyId()); |
|
|
|
sub.setGridList(gridList); |
|
|
|
List<ArticleGridResultDTO> subAgency = getGridList(sub.getPids() + ":" + sub.getAgencyId()); |
|
|
|