pv终端台帐 部门增加id查询所有子部门
This commit is contained in:
@@ -285,5 +285,22 @@ public class DeptController extends BaseController {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据部门id获取所有子部门ids
|
||||
* @author cdf
|
||||
* @date 2022/7/26
|
||||
*/
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||
@GetMapping("/getDepSonIdtByDeptId")
|
||||
@ApiOperation("根据部门id获取所有子部门ids")
|
||||
public HttpResult<List<String>> getDepSonIdtByDeptId(@RequestParam("deptId")String deptId) {
|
||||
String methodDescribe = getMethodDescribe("getDepSonIdtByDeptId");
|
||||
List<String> deptList = deptService.getDepSonIdtByDeptId(deptId);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, deptList, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user