接口 IUserRoleMapper

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

@Repository public interface IUserRoleMapper extends com.baomidou.mybatisplus.core.mapper.BaseMapper<SysUserRole>
  • 方法概要

    修饰符和类型
    方法
    说明
    hasRole(UserRoleDto userRoleDto)
    通过用户名查询是否有可用的角色
    通过用户名查询角色列表

    从接口继承的方法 com.baomidou.mybatisplus.core.mapper.BaseMapper

    delete, deleteBatchIds, deleteById, deleteById, deleteById, deleteByIds, deleteByIds, deleteByMap, exists, insert, insert, insert, insertOrUpdate, insertOrUpdate, insertOrUpdate, insertOrUpdate, insertOrUpdate, selectBatchIds, selectBatchIds, selectById, selectByIds, selectByIds, selectByMap, selectByMap, selectCount, selectList, selectList, selectList, selectList, selectMaps, selectMaps, selectMaps, selectMaps, selectMapsPage, selectObjs, selectObjs, selectOne, selectOne, selectPage, update, update, updateById, updateById, updateById
  • 方法详细资料

    • queryUserRoleListByUsername

      List<UserRoleVo> queryUserRoleListByUsername(UserRoleDto userRoleDto)
      通过用户名查询角色列表
      参数:
      userRoleDto -
      返回:
    • hasRole

      Integer hasRole(UserRoleDto userRoleDto)
      通过用户名查询是否有可用的角色
      参数:
      userRoleDto -
      返回: