接口 SysDeptMapper
- 所有超级接口:
com.baomidou.mybatisplus.core.mapper.BaseMapper<SysDept>
,com.baomidou.mybatisplus.core.mapper.Mapper<SysDept>
针对表【sys_dept(部门)】的数据库操作Mapper
- 另请参阅:
-
方法概要
修饰符和类型方法说明com.baomidou.mybatisplus.core.metadata.IPage<SysDept>
deptFilterPage
(com.baomidou.mybatisplus.core.metadata.IPage<?> page, String pageOrder, SysDeptQueryDTO dto, Serializable operator, Set<String> authorities, Integer isRoot) 查询分页tree
(SysDeptQueryDTO dto, Serializable operator, Set<String> authorities, Integer isRoot) 查询部门树从接口继承的方法 com.baomidou.mybatisplus.core.mapper.BaseMapper
delete, deleteBatchIds, deleteById, deleteById, deleteByMap, exists, insert, selectBatchIds, selectBatchIds, selectById, selectByMap, selectByMap, selectCount, selectList, selectList, selectList, selectList, selectMaps, selectMaps, selectMaps, selectMaps, selectMapsPage, selectObjs, selectObjs, selectOne, selectOne, selectPage, update, update, updateById
-
方法详细资料
-
tree
List<SysDeptTreeVO> tree(@Param("dto") SysDeptQueryDTO dto, @Param("operator") Serializable operator, @Param("authorities") Set<String> authorities, @Param("isRoot") Integer isRoot) 查询部门树- 参数:
dto
- 查询参数operator
- 操作用户 idauthorities
- 用户权限isRoot
- 是否是 ROOT 角色- 返回:
- 部门树
-
deptFilterPage
com.baomidou.mybatisplus.core.metadata.IPage<SysDept> deptFilterPage(com.baomidou.mybatisplus.core.metadata.IPage<?> page, @Param("pageOrder") String pageOrder, @Param("dto") SysDeptQueryDTO dto, @Param("operator") Serializable operator, @Param("authorities") Set<String> authorities, @Param("isRoot") Integer isRoot) 查询分页- 参数:
page
- 分页参数dto
- 查询参数authorities
- 用户权限isRoot
- 是否是 ROOT 角色pageOrder
- 排序字段- 返回:
- 分页查询的列表
-