From 2ab35000026ccd58238e6a504b1b5f79f8c262c3 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: 星期三, 17 七月 2024 10:20:20 +0800
Subject: [PATCH] 优化

---
 ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
index 22db9eb..558d9ce 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -125,5 +125,13 @@
      */
     public int deleteDeptById(Long deptId);
 
+    public List<Long> getChildrenDeptIdList(@Param("deptIdList")List<Long> deptIdList);
 
+    public List<Long> selectDeptIdBySub(Long deptId);
+
+    public List<Long> selectRoleDeptIdByUsersId(String usersId);
+
+    public List<SysDept> getParentsDeptListByDeptId(Long deptId);
+
+    public List<SysDept> selectNextChildrenDeptByIdAndInList(@Param("deptId")Long deptId,@Param("deptIdList")List<Long> deptIdList);
 }

--
Gitblit v1.9.3