@Service @DS(value="authority") @Transactional(rollbackFor=java.lang.Exception.class, propagation=REQUIRES_NEW) public class RoleAreaServiceImpl extends ServiceImpl<RoleAreaMapper,RoleArea> implements IRoleAreaService
构造器和说明 |
---|
RoleAreaServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
createRoleArea(Long roleId,
Set<Long> areaIds)
创建角色区域
|
void |
deleteRoleArea(Long roleId)
删除角色区域
|
Set<Long> |
queryAreaByRoleId(Long roleId)
查询指定角色拥有的区域ID列表
|
Set<Long> |
queryAreaByRoleIds(Set<Long> roleIds)
查询指定角色集合拥有的区域ID列表
|
alwaysUpdateSomeColumnById, deleteByIdWithFill, insertBatchSomeColumn, insertIgnoreBatchSomeColumn
closeSqlSession, currentMapperClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchById
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alwaysUpdateSomeColumnById, deleteByIdWithFill, insertBatchSomeColumn, insertIgnoreBatchSomeColumn
selectJoinCount, selectJoinList, selectJoinListPage, selectJoinMap, selectJoinMaps, selectJoinMapsPage, selectJoinOne
currentModelClass, getByIdDeep, getByIdDeep, getByIdDeep, getMapDeep, getMapDeep, getMapDeep, getOneDeep, getOneDeep, getOneDeep, getOneDeep, getOneDeep, getOneDeep, listByIdsDeep, listByIdsDeep, listByIdsDeep, listByMapDeep, listByMapDeep, listByMapDeep, listDeep, listDeep, listDeep, listDeep, listDeep, listDeep, listMapsDeep, listMapsDeep, listMapsDeep, listMapsDeep, listMapsDeep, listMapsDeep, pageDeep, pageDeep, pageDeep, pageDeep, pageDeep, pageDeep, pageMapsDeep, pageMapsDeep, pageMapsDeep, pageMapsDeep, pageMapsDeep, pageMapsDeep
count, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
public void createRoleArea(Long roleId, Set<Long> areaIds)
IRoleAreaService
createRoleArea
在接口中 IRoleAreaService
roleId
- 角色IDareaIds
- 区域ID信息public void deleteRoleArea(Long roleId)
IRoleAreaService
deleteRoleArea
在接口中 IRoleAreaService
roleId
- 角色IDpublic Set<Long> queryAreaByRoleId(Long roleId)
IRoleAreaService
queryAreaByRoleId
在接口中 IRoleAreaService
roleId
- 角色IDpublic Set<Long> queryAreaByRoleIds(Set<Long> roleIds)
IRoleAreaService
queryAreaByRoleIds
在接口中 IRoleAreaService
roleIds
- 角色ID集合