算法提交
This commit is contained in:
@@ -458,8 +458,34 @@ public class DeptController extends BaseController {
|
||||
}
|
||||
/*++++++++++++++++++++++++++++++++pms专用+++++++++++++++++++++++++++++++begin*/
|
||||
|
||||
/**
|
||||
* 根据单位集合查询对应部门
|
||||
* @param list code集合
|
||||
* @return
|
||||
*/
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||
@PostMapping("/getDeptByCodeList")
|
||||
@ApiOperation("根据单位集合查询对应部门")
|
||||
@ApiImplicitParam(name = "list", value = "code集合", required = true)
|
||||
public HttpResult<List<Dept>> getDeptByCodeList(@RequestBody List<String> list) {
|
||||
String methodDescribe = getMethodDescribe("getDeptByCodeList");
|
||||
List<Dept> result = deptService.getDeptByCodeList(list);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取所有的部门集合
|
||||
* @author xy
|
||||
* @date 2023/12/11
|
||||
*/
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||
@GetMapping("/getAllDept")
|
||||
@ApiOperation("获取所有单位")
|
||||
public HttpResult<List<Dept>> getAllDept() {
|
||||
String methodDescribe = getMethodDescribe("getAllDept");
|
||||
List<Dept> result = deptService.getAllDept();
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
|
||||
}
|
||||
|
||||
/*++++++++++++++++++++++++++++++++pms专用+++++++++++++++++++++++++++++++end*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user