接口 UserRoleMapper

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

public interface UserRoleMapper extends CrudMapper<UserRole>
用户角色映射

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 方法概要

    修饰符和类型
    方法
    说明
    通过用户id获取
    通过用户id获取用户角色关联的部门数据

    从接口继承的方法 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

    从接口继承的方法 plus.hiver.common.config.mybatisplus.mapper.CrudMapper

    insertBatch
  • 方法详细资料

    • findByUserId

      List<Role> findByUserId(@Param("userId") Long userId)
      通过用户id获取
    • findDepIdsByUserId

      List<Long> findDepIdsByUserId(@Param("userId") Long userId)
      通过用户id获取用户角色关联的部门数据