代码调整

This commit is contained in:
2022-12-12 15:18:48 +08:00
parent 9b8af7945a
commit d043ab478b
10 changed files with 60 additions and 4 deletions

View File

@@ -359,6 +359,21 @@ public class DeptController extends BaseController {
}
/**
* 获取所有本部单位
* @author cdf
* @date 2022/12/8
*/
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
@GetMapping("/getSpecialDeptList")
@ApiOperation("获取所有本部单位")
public HttpResult<List<Dept>> getSpecialDeptList(){
String methodDescribe = getMethodDescribe("getSpecialDeptList");
List<Dept> deptList = deptService.getSpecialDeptList();
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, deptList, methodDescribe);
}
}