ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
@@ -74,6 +74,18 @@ } /** * 获取所有分公司列表(parentId=100的部门) */ @GetMapping("/branch/all") public AjaxResult listAllBranches() { SysDept query = new SysDept(); query.setParentId(100L); List<SysDept> depts = deptService.selectDeptList(query); return success(depts); } /** * 查询部门列表(排除节点) */ @GetMapping("/list/exclude/{deptId}")