所有超级接口:
com.baomidou.mybatisplus.core.mapper.BaseMapper<SysDept>, com.baomidou.mybatisplus.core.mapper.Mapper<SysDept>

public interface SysDeptMapper extends com.baomidou.mybatisplus.core.mapper.BaseMapper<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 - 操作用户 id
      authorities - 用户权限
      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 - 排序字段
      返回:
      分页查询的列表