|
|
@ -340,17 +340,17 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl<CustomerAgencyDao |
|
|
|
AgencyDeptGridResultDTO agencyDeptGrid = new AgencyDeptGridResultDTO(); |
|
|
|
//1:跟踪组织Id批量查询组织信息
|
|
|
|
List<CustomerAgencyDTO> agencyList = new ArrayList<>(); |
|
|
|
if (null != formDTO.getAgencyIdList()) { |
|
|
|
if (null != formDTO.getAgencyIdList() && formDTO.getAgencyIdList().size() > NumConstant.ZERO) { |
|
|
|
agencyList = baseDao.selectAgencyListByIds(formDTO.getAgencyIdList()); |
|
|
|
} |
|
|
|
//2:根据部门Id批量查询部门信息
|
|
|
|
List<CustomerDepartmentDTO> deptList = new ArrayList<>(); |
|
|
|
if (null != formDTO.getDeptIdList()) { |
|
|
|
if (null != formDTO.getDeptIdList() && formDTO.getDeptIdList().size() > NumConstant.ZERO) { |
|
|
|
deptList = customerDepartmentDao.selectDeptListByIds(formDTO.getDeptIdList()); |
|
|
|
} |
|
|
|
//3:根据网格Id批量查询网格信息
|
|
|
|
List<CustomerGridDTO> gridList = new ArrayList<>(); |
|
|
|
if (null != formDTO.getGridIdList()) { |
|
|
|
if (null != formDTO.getGridIdList() && formDTO.getGridIdList().size() > NumConstant.ZERO) { |
|
|
|
gridList = customerGridDao.selectGridListByIds(formDTO.getGridIdList()); |
|
|
|
} |
|
|
|
agencyDeptGrid.setAgencyList(agencyList); |
|
|
|