From e75abff0e743fe1c83abeb64f2fe562bbf9ba07c Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 03 三月 2025 11:32:01 +0800 Subject: [PATCH] bug --- system/src/main/java/com/ycl/system/service/ISysDeptService.java | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 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..0db2984 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,17 @@ * @return 缁撴灉 */ public int deleteDeptById(Long deptId); + + /** + * 鍒楄〃 + * @return + */ + Result all(SysDept dept); + + /** + * flowable 鏌ユ墍鏈夐儴闂� + * + * @return + */ + List<StringTreeSelect> flowableAll(); } -- Gitblit v1.8.0