接口 ISysRolePermissionService

所有超级接口:
com.baomidou.mybatisplus.extension.service.IService<SysRolePermission>
所有已知实现类:
SysRolePermissionServiceImpl

public interface ISysRolePermissionService extends com.baomidou.mybatisplus.extension.service.IService<SysRolePermission>
角色权限关联
从以下版本开始:
1.0.0
另请参阅:
  • 字段概要

    从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService

    DEFAULT_BATCH_SIZE
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    清理脏数据
    void
    初始化角色权限
    boolean
    saveBatch(Collection<SysRolePermission> entityList, Integer primaryBy)
    批量保存

    从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService

    count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
  • 方法详细资料

    • saveBatch

      boolean saveBatch(Collection<SysRolePermission> entityList, Integer primaryBy)
      批量保存
      参数:
      entityList - 批量保存的值
      primaryBy - 以什么为主 1 角色,2 权限
      返回:
      boolean
    • clearDirtyData

      void clearDirtyData()
      清理脏数据
    • iniConfig

      void iniConfig()
      初始化角色权限