From 92a1a1e5b8fa53e908d1e0a398acc524b8798d0e Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: 星期五, 26 七月 2024 12:00:27 +0800
Subject: [PATCH] 修改:群聊单聊会话以监听事件方式进行websocket转发

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 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 c18f045..5234894 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
@@ -3,7 +3,11 @@
 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;
 
 /**
@@ -131,5 +135,25 @@
      */
     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);
+
+    /**
+    *   鏌ヨ鑷韩鍙婁笅灞炲拰鑷畾涔夋潈闄愪富閿�
+    * */
+    List<Long> selectDeptIdBySubAndUserId(Long deptId,String usersId);
 }

--
Gitblit v1.9.3