新增获取部门子集接口
This commit is contained in:
@@ -299,7 +299,19 @@ public class DeptController extends BaseController {
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, deptList, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据部门id获取子部门ids
|
||||
* @author dhj
|
||||
* @date 2022/10/09
|
||||
*/
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||
@GetMapping("/getDepSonIdByDeptId")
|
||||
@ApiOperation("根据部门id获取子部门ids")
|
||||
public HttpResult<List<String>> getDepSonIdByDeptId(@RequestParam("deptId")String deptId) {
|
||||
String methodDescribe = getMethodDescribe("getDepSonIdByDeptId");
|
||||
List<String> deptList = deptService.getDepSonIdByDeptId(deptId);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, deptList, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user