RuoYi
2022-09-28 07c2e08e4ad47ab6baa5ea62f6f01ac36ab1c30b
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java
@@ -1,7 +1,6 @@
package com.ruoyi.system.service;
import java.util.List;
import com.ruoyi.system.api.domain.SysDept;
import com.ruoyi.system.domain.vo.TreeSelect;
@@ -19,6 +18,14 @@
     * @return 部门信息集合
     */
    public List<SysDept> selectDeptList(SysDept dept);
    /**
     * 查询部门树结构信息
     *
     * @param dept 部门信息
     * @return 部门树信息集合
     */
    public List<TreeSelect> selectDeptTreeList(SysDept dept);
    /**
     * 构建前端所需要树结构
@@ -42,7 +49,7 @@
     * @param roleId 角色ID
     * @return 选中部门列表
     */
    public List<Integer> selectDeptListByRoleId(Long roleId);
    public List<Long> selectDeptListByRoleId(Long roleId);
    /**
     * 根据部门ID查询信息
@@ -85,6 +92,13 @@
    public String checkDeptNameUnique(SysDept dept);
    /**
     * 校验部门是否有数据权限
     *
     * @param deptId 部门id
     */
    public void checkDeptDataScope(Long deptId);
    /**
     * 新增保存部门信息
     * 
     * @param dept 部门信息