代码提交部门新增根据code查询下级所有 pms台账
This commit is contained in:
@@ -392,13 +392,13 @@ public class DeptController extends BaseController {
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.FAIL, null, methodDescribe);
|
||||
}
|
||||
}
|
||||
/**
|
||||
/**
|
||||
* @Description: "获取当前部门的的下级子部门list,如果没子部门就是返回当前部门
|
||||
* @Param: [deptId]
|
||||
* @Param: [deptId]
|
||||
* @return: com.njcn.common.pojo.response.HttpResult<java.util.List<com.njcn.user.pojo.dto.DeptDTO>>
|
||||
* @Author: clam
|
||||
* @Date: 2023/1/10
|
||||
*/
|
||||
* @Date: 2023/1/10
|
||||
*/
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||
@GetMapping("/getDepSonDetailIdByDeptId")
|
||||
@ApiOperation("获取当前部门的的下级子部门list,如果没子部门就是返回当前部门")
|
||||
@@ -409,6 +409,28 @@ public class DeptController extends BaseController {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据部code获取所有子部门以及自身的code
|
||||
* @author cdf
|
||||
* @date 2023/2/21
|
||||
*/
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||
@GetMapping("/getDepSonSelfCodetByCode")
|
||||
@ApiOperation("根据部门code获取所有子部门以及自身的code")
|
||||
public HttpResult<List<String>> getDepSonSelfCodetByCode(@RequestParam("code")String code) {
|
||||
String methodDescribe = getMethodDescribe("getDepSonSelfCodetByCode");
|
||||
List<String> deptList = deptService.getDepSonSelfCodetByCode(code);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, deptList, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*++++++++++++++++++++++++++++++++pms专用+++++++++++++++++++++++++++++++begin*/
|
||||
|
||||
|
||||
|
||||
|
||||
/*++++++++++++++++++++++++++++++++pms专用+++++++++++++++++++++++++++++++end*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user