|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.epmet.dataaggre.service.govorg.impl; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
@ -10,6 +11,8 @@ import com.epmet.dataaggre.constant.DataSourceConstant; |
|
|
|
import com.epmet.dataaggre.dao.govorg.*; |
|
|
|
import com.epmet.dataaggre.dto.epmetuser.result.ListStaffResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.epmetuser.result.StaffRoleListResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.*; |
|
|
|
import com.epmet.dataaggre.dto.govorg.form.*; |
|
|
|
import com.epmet.dataaggre.dto.govorg.CustomerAgencyDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.CustomerDepartmentDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.CustomerGridDTO; |
|
|
@ -420,7 +423,17 @@ public class GovOrgServiceImpl implements GovOrgService { |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public SubOrgResultDTO getSubOrg(SubOrgFormDTO formDTO) { |
|
|
|
return null; |
|
|
|
//下级组织列表
|
|
|
|
List<OrgDTO> subAgencyList = customerStaffAgencyDao.selectSubAgency(formDTO.getAgencyId()); |
|
|
|
//下级部门列表
|
|
|
|
List<OrgDTO> departmentList = customerStaffDepartmentDao.selectDepartmentList(formDTO.getAgencyId()); |
|
|
|
//下级网格列表
|
|
|
|
List<OrgDTO> gridList = customerStaffGridDao.selectGridList(formDTO.getAgencyId()); |
|
|
|
SubOrgResultDTO result = new SubOrgResultDTO(); |
|
|
|
result.setSubAgencyList(subAgencyList); |
|
|
|
result.setDepartmentList(departmentList); |
|
|
|
result.setGridList(gridList); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|