1.pms代码调整
This commit is contained in:
@@ -481,6 +481,22 @@ public class DeptController extends BaseController {
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据部门ids获取部门集合
|
||||
* @author cdf
|
||||
* @date 2024/2/29
|
||||
*/
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||
@PostMapping("/getDeptInfoListByIds")
|
||||
@ApiOperation("根据部门ids获取部门集合")
|
||||
@ApiImplicitParam(name = "list", value = "code集合", required = true)
|
||||
public HttpResult<List<Dept>> getDeptInfoListByIds(@RequestBody List<String> deptIds) {
|
||||
String methodDescribe = getMethodDescribe("getDeptInfoListByIds");
|
||||
List<Dept> result = deptService.getDeptInfoListByIds(deptIds);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取所有的部门集合
|
||||
* @author xy
|
||||
|
||||
Reference in New Issue
Block a user