From 8bfb1a91458ff158da73e7b8ccda2501cc7fea04 Mon Sep 17 00:00:00 2001
From: aijinhui <aijinhui>
Date: 星期二, 05 十二月 2023 11:57:00 +0800
Subject: [PATCH] 清淤
---
ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 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 166ba16..47cf6f0 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
@@ -1,7 +1,13 @@
package com.ruoyi.system.service;
import java.util.List;
+import java.util.Map;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.ruoyi.common.core.domain.DeptUserTree;
+import com.ruoyi.common.core.domain.TreeDeptWell;
import com.ruoyi.common.core.domain.TreeSelect;
+import com.ruoyi.common.core.domain.TreeSelectWell;
import com.ruoyi.common.core.domain.entity.SysDept;
/**
@@ -121,4 +127,28 @@
* @return 缁撴灉
*/
public int deleteDeptById(Long deptId);
+
+ /**
+ * 鏍规嵁褰撳墠deptId鎴栬�呭綋鍓嶅強鎵�灞炰笅绾х殑鎵�鏈塪eptId
+ * @param deptId
+ * @return
+ */
+ List<Long> deptIdBySub(Long deptId);
+
+ List<SysDept> all();
+
+ List<SysDept> allByUser(List<Long> deptList);
+
+ /**
+ * 棰勭暀缁撴瀯鐨勬爲褰�
+ * @param depts
+ * @return
+ */
+ List<TreeDeptWell> wellTree(List<TreeDeptWell> depts);
+ List<TreeDeptWell> buildDeptWellTree(List<TreeDeptWell> depts);
+
+ /**
+ * 浜哄憳閮ㄩ棬缁撴瀯鏍戝舰
+ */
+ List<DeptUserTree> deptUserTree(List<DeptUserTree> depts);
}
--
Gitblit v1.9.3