liusuyi
2024-07-30 5f07ddc52c8643695049c0395aa73efc913ca69d
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;
@@ -31,7 +32,7 @@
     * @return 部门树信息集合
     */
    public List<TreeSelect> selectDeptTreeList(SysDept dept);
    public List<TreeSelect> selectDeptTreeListNoDataScope(SysDept dept);
    /**
     * 构建前端所需要树结构
     * 
@@ -145,4 +146,14 @@
     */
    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);
}