Interface SecUserRoleService
- All Superinterfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<SecUserRole>,com.baomidou.mybatisplus.extension.service.IService<SecUserRole>
- All Known Implementing Classes:
SecUserRoleServiceImpl
public interface SecUserRoleService
extends com.baomidou.mybatisplus.extension.service.IService<SecUserRole>
-
Field Summary
Fields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
Method Summary
Modifier and TypeMethodDescriptionvoid批量为用户绑定角色void批量为角色绑定用户查询用户绑定所有角色列表cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO>查询用户绑定角色列表cn.sliew.carp.framework.common.model.PageResult<SecUserDTO>查询角色绑定用户列表cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO>查询用户未绑定角色列表cn.sliew.carp.framework.common.model.PageResult<SecUserDTO>查询角色未绑定用户列表void批量为用户解除角色绑定void批量为角色解除用户绑定Methods inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
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, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateByIdMethods inherited from interface com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
-
Method Details
-
listAuthorizedUsersByRoleId
cn.sliew.carp.framework.common.model.PageResult<SecUserDTO> listAuthorizedUsersByRoleId(SecUserListByRoleParam param) 查询角色绑定用户列表 -
listUnauthorizedUsersByRoleId
cn.sliew.carp.framework.common.model.PageResult<SecUserDTO> listUnauthorizedUsersByRoleId(SecUserListByRoleParam param) 查询角色未绑定用户列表 -
authorize
批量为角色绑定用户 -
unauthorize
批量为角色解除用户绑定 -
listAllAuthorizedRolesByUserId
查询用户绑定所有角色列表 -
listAuthorizedRolesByUserId
cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO> listAuthorizedRolesByUserId(SecRoleListByUserParam param) 查询用户绑定角色列表 -
listUnauthorizedRolesByUserId
cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO> listUnauthorizedRolesByUserId(SecRoleListByUserParam param) 查询用户未绑定角色列表 -
authorize
批量为用户绑定角色 -
unauthorize
批量为用户解除角色绑定
-