RuoYi
2023-02-21 ad76d4301c1b37a316b58a020d70817d3d89fad0
src/main/java/com/ruoyi/project/system/service/ISysDeptService.java
@@ -20,6 +20,14 @@
    public List<SysDept> selectDeptList(SysDept dept);
    /**
     * 查询部门树结构信息
     *
     * @param dept 部门信息
     * @return 部门树信息集合
     */
    public List<TreeSelect> selectDeptTreeList(SysDept dept);
    /**
     * 构建前端所需要树结构
     * 
     * @param depts 部门列表
@@ -41,7 +49,7 @@
     * @param roleId 角色ID
     * @return 选中部门列表
     */
    public List<Integer> selectDeptListByRoleId(Long roleId);
    public List<Long> selectDeptListByRoleId(Long roleId);
    /**
     * 根据部门ID查询信息
@@ -81,7 +89,7 @@
     * @param dept 部门信息
     * @return 结果
     */
    public String checkDeptNameUnique(SysDept dept);
    public boolean checkDeptNameUnique(SysDept dept);
    /**
     * 校验部门是否有数据权限