34 lines
851 B
Java
Raw Normal View History

2020-07-20 10:41:32 +08:00
package com.ruoyi.system.mapper;
2020-02-13 10:48:51 +08:00
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
2020-07-20 10:41:32 +08:00
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.ibatis.annotations.Param;
import java.util.List;
2020-02-13 10:48:51 +08:00
/**
* 部门管理 数据层
*
2020-02-13 10:48:51 +08:00
* @author ruoyi
*/
public interface SysDeptMapper extends BaseMapper<SysDept> {
2020-02-13 10:48:51 +08:00
2021-05-08 23:35:39 +08:00
/**
* 查询部门管理数据
*
* @param dept 部门信息
* @return 部门信息集合
*/
public List<SysDept> selectDeptList(SysDept dept);
2020-02-13 10:48:51 +08:00
/**
* 根据角色ID查询部门树信息
*
* @param roleId 角色ID
* @param deptCheckStrictly 部门树选择项是否关联显示
2020-02-13 10:48:51 +08:00
* @return 选中部门列表
*/
public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
2020-02-13 10:48:51 +08:00
}