From e781f88eca04c5e8d005c341f37b71aa1a255f07 Mon Sep 17 00:00:00 2001 From: 也曾为你、像超人 <1553592282@qq.com> Date: 星期一, 19 九月 2022 14:30:47 +0800 Subject: [PATCH] 优化日志操作中重置按钮时重复查询的问题 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java index fe5dd39..f131ee3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java @@ -20,6 +20,14 @@ public List<SysDept> selectDeptList(SysDept dept); /** + * 查询部门树结构信息 + * + * @param dept 部门信息 + * @return 部门树信息集合 + */ + public List<TreeSelect> selectDeptTreeList(SysDept dept); + + /** * 构建前端所需要树结构 * * @param depts 部门列表 @@ -41,7 +49,7 @@ * @param roleId 角色ID * @return 选中部门列表 */ - public List<Integer> selectDeptListByRoleId(Long roleId); + public List<Long> selectDeptListByRoleId(Long roleId); /** * 根据部门ID查询信息 -- Gitblit v1.9.2