From 4806b676dbbab4675e5ee43b4018f2cd9d43797f Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期一, 23 十月 2023 17:15:09 +0800 Subject: [PATCH] 1. 将sdk动态链接库dll集成到项目内,提升部署便捷性; 2. 增加设备断线重连回调方法,打印相关日志; 3. 删除多余依赖,减小jar包体积; 4. 处理SDK日志打印; --- 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 166ba16..403ffed 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,12 @@ 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.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 +126,23 @@ * @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); } -- Gitblit v1.9.3