|
@ -39,4 +39,16 @@ public interface AdminFeignClient { |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("/sys/dept/getParentAndAllDept/{deptId}") |
|
|
@GetMapping("/sys/dept/getParentAndAllDept/{deptId}") |
|
|
Result<ParentAndAllDeptDTO> getParentAndAllDept(@PathVariable("deptId") String deptId); |
|
|
Result<ParentAndAllDeptDTO> getParentAndAllDept(@PathVariable("deptId") String deptId); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 通过部门id,获取所有下级机构(包括冗余字段) |
|
|
|
|
|
* |
|
|
|
|
|
* @param typeKey 部门类别关键字{@link com.elink.esua.epdc.commons.tools.constant.OrganizationTypeConstant} |
|
|
|
|
|
* @param deptId 部门id |
|
|
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.ParentAndAllDeptDTO>> |
|
|
|
|
|
* @author work@yujt.net.cn |
|
|
|
|
|
* @date 2020/5/22 08:57 |
|
|
|
|
|
*/ |
|
|
|
|
|
@GetMapping("optimize/deptlevel/listByParent/{typeKey}/{deptId}") |
|
|
|
|
|
Result<List<ParentAndAllDeptDTO>> listChildDeptLevelById(@PathVariable("typeKey") String typeKey, @PathVariable("deptId") Long deptId); |
|
|
} |
|
|
} |
|
|