类 SysRoleServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl<SysRoleMapper,SysRole>
io.github.mangocrisp.spring.taybct.module.system.service.impl.SysRoleServiceImpl
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<SysRole>
,ISysRoleService
,io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService<SysRole>
public class SysRoleServiceImpl
extends io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl<SysRoleMapper,SysRole>
implements ISysRoleService
-
字段概要
字段修饰符和类型字段说明(专用程序包) io.github.mangocrisp.spring.taybct.tool.core.constant.ISysParamsObtainService
(专用程序包) ISysRolePermissionService
(专用程序包) SysUserRoleMapper
从类继承的字段 io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl
securityUtil
从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, entityClass, mapperClass, typeArguments
从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<E> Collection<E>
checkRemoveCondition
(Collection<E> idList) customizeList
(Map<String, Object> params) com.baomidou.mybatisplus.core.metadata.IPage<SysRole>
customizePage
(Map<String, Object> params) private void
getSysRoles
(SysRoleQueryDTO dto, Map<String, Object> sqlQueryParams, Long current, Long size, BiConsumer<Long, List<SysRole>> result) 获取用户,如果不传分页参数,就不分页listFilterRole
(SysRole dto) 取角色列表(过滤出只有当前登录角色拥有的)boolean
boolean
removeByIds
(Collection<?> idList) boolean
boolean
saveBatch
(Collection<SysRole> entityList) boolean
updateBatchById
(Collection<SysRole> entityList) boolean
updateById
(SysRole entity) 从类继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.service.BaseServiceImpl
authoritiesFilter, checkAuthorities, checkRoot, currentMapperClass, currentModelClass, getSecurityUtil, saveNew, saveNewBatch
从类继承的方法 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
closeSqlSession, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchById
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService
customizeGetById, customizeList, customizePage, customizeQueryPage, customizeQueryPage, customizeQueryWrapper, customizeQueryWrapper, customizeRemoveById, customizeRemoveByIds, customizeSave, customizeSaveBatch, customizeUpdateBatchById, customizeUpdateById, mergeQueryExpansion, queryExpansion, removeExpansion, saveExpansion
从接口继承的方法 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, removeByIds, removeByMap, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById
-
字段详细资料
-
sysRolePermissionService
ISysRolePermissionService sysRolePermissionService -
sysUserRoleMapper
-
sysParamsObtainService
io.github.mangocrisp.spring.taybct.tool.core.constant.ISysParamsObtainService sysParamsObtainService
-
-
构造器详细资料
-
SysRoleServiceImpl
public SysRoleServiceImpl()
-
-
方法详细资料
-
customizeList
- 指定者:
customizeList
在接口中io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService<SysRole>
-
customizePage
public com.baomidou.mybatisplus.core.metadata.IPage<SysRole> customizePage(Map<String, Object> params) - 指定者:
customizePage
在接口中io.github.mangocrisp.spring.taybct.tool.core.bean.service.IBaseService<SysRole>
-
getSysRoles
private void getSysRoles(SysRoleQueryDTO dto, Map<String, Object> sqlQueryParams, Long current, Long size, BiConsumer<Long, List<SysRole>> result) 获取用户,如果不传分页参数,就不分页- 参数:
dto
- 查询参数sqlQueryParams
- sql 查询参数current
- 当前页码size
- 页面大小result
- 返回结果,因为会返回 总数 和 列表,所以这里是一个 BiConsumer- 从以下版本开始:
- 1.0.4
- 另请参阅:
-
save
- 指定者:
save
在接口中com.baomidou.mybatisplus.extension.service.IService<SysRole>
-
saveBatch
- 指定者:
saveBatch
在接口中com.baomidou.mybatisplus.extension.service.IService<SysRole>
-
updateById
- 指定者:
updateById
在接口中com.baomidou.mybatisplus.extension.service.IService<SysRole>
-
updateBatchById
- 指定者:
updateBatchById
在接口中com.baomidou.mybatisplus.extension.service.IService<SysRole>
-
removeById
- 指定者:
removeById
在接口中com.baomidou.mybatisplus.extension.service.IService<SysRole>
- 覆盖:
removeById
在类中com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysRoleMapper,
SysRole>
-
removeByIds
- 指定者:
removeByIds
在接口中com.baomidou.mybatisplus.extension.service.IService<SysRole>
- 覆盖:
removeByIds
在类中com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysRoleMapper,
SysRole>
-
checkRemoveCondition
-
listFilterRole
从接口复制的说明:ISysRoleService
取角色列表(过滤出只有当前登录角色拥有的)- 指定者:
listFilterRole
在接口中ISysRoleService
- 参数:
dto
- 请求参数- 返回:
- 过滤后的角色列表
-