From 9f97dd981d5d31bfab85b14efa6c23873b4ca882 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 3 Jul 2024 16:27:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/web/controller/system/system/SysDeptController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysDeptController.java index e47bdf6..34a4e5a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysDeptController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/SysDeptController.java @@ -188,7 +188,7 @@ public class SysDeptController extends BaseController @ApiOperation("查询下级") @GetMapping("/detpList") @ResponseBody - public AjaxResult getDeptBydeptId(@RequestParam(required = false) Long deptId) { + public AjaxResult getDeptById(@RequestParam(required = false) Long deptId) { return success(deptService.getDeptBydeptId(Objects.nonNull(deptId) ? deptId : 0)); } }