|
@ -771,11 +771,11 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao |
|
|
|
|
|
|
|
|
//4:根据不同角色查询不同数据
|
|
|
//4:根据不同角色查询不同数据
|
|
|
CustomerAgencyEntity agencyEntity = baseDao.selectById(staffAgencyDTO.getAgencyId()); |
|
|
CustomerAgencyEntity agencyEntity = baseDao.selectById(staffAgencyDTO.getAgencyId()); |
|
|
//当前机关信息
|
|
|
|
|
|
returnDTO.setAgencyId(agencyEntity.getId()); |
|
|
|
|
|
returnDTO.setAgencyName(agencyEntity.getOrganizationName()); |
|
|
|
|
|
if (party) { |
|
|
if (party) { |
|
|
//4.1:查询当前机关的网格列表以及所有下级机关的网格列表
|
|
|
//4.1:查询当前机关的网格列表以及所有下级机关的网格列表
|
|
|
|
|
|
//当前机关信息
|
|
|
|
|
|
returnDTO.setAgencyId(agencyEntity.getId()); |
|
|
|
|
|
returnDTO.setAgencyName(agencyEntity.getOrganizationName()); |
|
|
//当前机关下部门列表信息
|
|
|
//当前机关下部门列表信息
|
|
|
List<AgencyDeptList> agencyDeptList = customerDepartmentDao.selectAgencyDeptMsgList(agencyEntity.getId()); |
|
|
List<AgencyDeptList> agencyDeptList = customerDepartmentDao.selectAgencyDeptMsgList(agencyEntity.getId()); |
|
|
returnDTO.setAgencyDeptList(agencyDeptList); |
|
|
returnDTO.setAgencyDeptList(agencyDeptList); |
|
|