From 811b14aa5cd2bd6d4313b43dc38ce87cd938f3b0 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期二, 23 七月 2024 17:12:42 +0800 Subject: [PATCH] 优化:通道同步任务 增加:根据用户统计未读总数 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java | 13 ++++++++++++- 1 files changed, 12 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 0b3d308..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 @@ -4,6 +4,7 @@ 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; @@ -143,6 +144,16 @@ * @param depts * @return */ - List<TreeSelectWell> wellTree(List<TreeDeptWell> depts); + 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