mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
26 lines
674 B
Java
26 lines
674 B
Java
package com.ruoyi.system.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.ruoyi.common.core.domain.entity.SysDept;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 部门管理 数据层
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
public interface SysDeptMapper extends BaseMapper<SysDept> {
|
|
|
|
/**
|
|
* 根据角色ID查询部门树信息
|
|
*
|
|
* @param roleId 角色ID
|
|
* @param deptCheckStrictly 部门树选择项是否关联显示
|
|
* @return 选中部门列表
|
|
*/
|
|
public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly);
|
|
|
|
}
|