From 23b688e436a89845e92d861adb5875e625e90d9f Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期五, 14 三月 2025 11:43:18 +0800 Subject: [PATCH] Merge branch 'dev' --- system/src/main/java/com/ycl/system/service/ISysDeptService.java | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/system/src/main/java/com/ycl/system/service/ISysDeptService.java b/system/src/main/java/com/ycl/system/service/ISysDeptService.java index 7e09ebe..708eea0 100644 --- a/system/src/main/java/com/ycl/system/service/ISysDeptService.java +++ b/system/src/main/java/com/ycl/system/service/ISysDeptService.java @@ -1,6 +1,9 @@ package com.ycl.system.service; import java.util.List; + +import com.ycl.common.base.Result; +import com.ycl.common.core.domain.StringTreeSelect; import com.ycl.common.core.domain.TreeSelect; import com.ycl.common.core.domain.entity.SysDept; @@ -20,12 +23,31 @@ public List<SysDept> selectDeptList(SysDept dept); /** + * 鏌ヨ閮ㄩ棬绠$悊鏁版嵁-鏃犳暟鎹潈闄� + * + * @param dept + * @return + */ + public List<SysDept> selectDeptListNoAuth(SysDept dept); + + /** * 鏌ヨ閮ㄩ棬鏍戠粨鏋勪俊鎭� * * @param dept 閮ㄩ棬淇℃伅 * @return 閮ㄩ棬鏍戜俊鎭泦鍚� */ public List<TreeSelect> selectDeptTreeList(SysDept dept); + + + public List<TreeSelect> deptTreeNoDataAuth(SysDept dept); + + /** + * 娴佺▼閰嶇疆浣跨敤--鏍戠粨鏋� + * + * @param dept + * @return + */ + List<StringTreeSelect> flowDeptTree(SysDept dept); /** * 鏋勫缓鍓嶇鎵�闇�瑕佹爲缁撴瀯 @@ -34,6 +56,8 @@ * @return 鏍戠粨鏋勫垪琛� */ public List<SysDept> buildDeptTree(List<SysDept> depts); + + /** * 鏋勫缓鍓嶇鎵�闇�瑕佷笅鎷夋爲缁撴瀯 @@ -58,6 +82,8 @@ * @return 閮ㄩ棬淇℃伅 */ public SysDept selectDeptById(Long deptId); + + public List<SysDept> selectDeptByIds(List<Long> deptIds); /** * 鏍规嵁ID鏌ヨ鎵�鏈夊瓙閮ㄩ棬锛堟甯哥姸鎬侊級 @@ -121,4 +147,25 @@ * @return 缁撴灉 */ public int deleteDeptById(Long deptId); + + /** + * 鍒楄〃 + * @return + */ + Result all(SysDept dept); + + /** + * flowable 鏌ユ墍鏈夐儴闂� + * + * @return + */ + List<StringTreeSelect> flowableAll(); + + /** + * 鑾峰彇鏌愰儴闂ㄧ殑涓嬬骇閮ㄩ棬 + * + * @param deptId + * @return + */ + List<Long> getChildIds(Long deptId); } -- Gitblit v1.8.0