疯狂的狮子li
2021-10-27 695cb6d76b838b1e4cb161bae335faa948dca12a
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -9,7 +9,7 @@
/**
 * 部门管理 数据层
 *
 * @author ruoyi
 * @author Lion Li
 */
public interface SysDeptMapper extends BaseMapperPlus<SysDept> {
@@ -19,23 +19,23 @@
     * @param dept 部门信息
     * @return 部门信息集合
     */
    public List<SysDept> selectDeptList(SysDept dept);
    List<SysDept> selectDeptList(SysDept dept);
    /**
     * 根据角色ID查询部门树信息
     *
     * @param roleId 角色ID
     * @param roleId            角色ID
     * @param deptCheckStrictly 部门树选择项是否关联显示
     * @return 选中部门列表
     */
    public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
    List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
   /**
    * 修改子元素关系
    *
    * @param depts 子元素
    * @return 结果
    */
   public int updateDeptChildren(@Param("depts") List<SysDept> depts);
    /**
     * 修改子元素关系
     *
     * @param depts 子元素
     * @return 结果
     */
    int updateDeptChildren(@Param("depts") List<SysDept> depts);
}