Class SecUserRoleServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SecUserRoleMapper,SecUserRole>
cn.sliew.carp.module.security.core.service.impl.SecUserRoleServiceImpl
- All Implemented Interfaces:
SecUserRoleService,com.baomidou.mybatisplus.extension.service.IService<SecUserRole>
@Service
public class SecUserRoleServiceImpl
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SecUserRoleMapper,SecUserRole>
implements SecUserRoleService
-
Field Summary
Fields inherited from class com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, entityClass, log, mapperClass, typeArgumentsFields inherited from interface com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid批量为用户绑定角色void批量为角色绑定用户查询用户绑定角色列表com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecUserDTO>查询角色绑定用户列表查询用户未绑定角色列表com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecUserDTO>查询角色未绑定用户列表void批量为用户解除角色绑定void批量为角色解除用户绑定Methods inherited from class com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
Constructor Details
-
SecUserRoleServiceImpl
public SecUserRoleServiceImpl()
-
-
Method Details
-
listAuthorizedUsersByRoleId
public com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecUserDTO> listAuthorizedUsersByRoleId(SecUserListByRoleParam param) Description copied from interface:SecUserRoleService查询角色绑定用户列表- Specified by:
listAuthorizedUsersByRoleIdin interfaceSecUserRoleService
-
listUnauthorizedUsersByRoleId
public com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecUserDTO> listUnauthorizedUsersByRoleId(SecUserListByRoleParam param) Description copied from interface:SecUserRoleService查询角色未绑定用户列表- Specified by:
listUnauthorizedUsersByRoleIdin interfaceSecUserRoleService
-
authorize
Description copied from interface:SecUserRoleService批量为角色绑定用户- Specified by:
authorizein interfaceSecUserRoleService
-
unauthorize
Description copied from interface:SecUserRoleService批量为角色解除用户绑定- Specified by:
unauthorizein interfaceSecUserRoleService
-
listAuthorizedRolesByUserId
Description copied from interface:SecUserRoleService查询用户绑定角色列表- Specified by:
listAuthorizedRolesByUserIdin interfaceSecUserRoleService
-
listUnauthorizedRolesByUserId
Description copied from interface:SecUserRoleService查询用户未绑定角色列表- Specified by:
listUnauthorizedRolesByUserIdin interfaceSecUserRoleService
-
authorize
Description copied from interface:SecUserRoleService批量为用户绑定角色- Specified by:
authorizein interfaceSecUserRoleService
-
unauthorize
Description copied from interface:SecUserRoleService批量为用户解除角色绑定- Specified by:
unauthorizein interfaceSecUserRoleService
-