2020-07-20 10:41:32 +08:00
|
|
|
package com.ruoyi.system.mapper;
|
2020-02-13 10:48:51 +08:00
|
|
|
|
2021-04-12 17:02:55 +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;
|
2021-04-12 17:02:55 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
import java.util.List;
|
2020-02-13 10:48:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 部门管理 数据层
|
2021-04-12 17:02:55 +08:00
|
|
|
*
|
2020-02-13 10:48:51 +08:00
|
|
|
* @author ruoyi
|
|
|
|
*/
|
2021-04-12 17:02:55 +08:00
|
|
|
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查询部门树信息
|
2021-04-12 17:02:55 +08:00
|
|
|
*
|
|
|
|
* @param roleId 角色ID
|
2020-09-22 13:22:30 +08:00
|
|
|
* @param deptCheckStrictly 部门树选择项是否关联显示
|
2020-02-13 10:48:51 +08:00
|
|
|
* @return 选中部门列表
|
|
|
|
*/
|
2020-09-22 13:22:30 +08:00
|
|
|
public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
|
2020-02-13 10:48:51 +08:00
|
|
|
|
|
|
|
}
|