@Service @DS(value="authority") @Transactional(rollbackFor=java.lang.Exception.class, propagation=REQUIRES_NEW) public class UserAreaServiceImpl extends ServiceImpl<UserAreaMapper,UserArea> implements IUserAreaService
构造器和说明 |
---|
UserAreaServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
createUserArea(Long userId,
Set<Long> areaIds)
创建用户区域
|
void |
deleteUserArea(Long userId)
删除用户区域
|
Set<Long> |
queryAreaByUserId(Long userId)
查询指定用户拥有的区域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 createUserArea(Long userId, Set<Long> areaIds)
IUserAreaService
createUserArea
在接口中 IUserAreaService
userId
- 用户IDareaIds
- 区域ID信息public void deleteUserArea(Long userId)
IUserAreaService
deleteUserArea
在接口中 IUserAreaService
userId
- 用户IDpublic Set<Long> queryAreaByUserId(Long userId)
IUserAreaService
queryAreaByUserId
在接口中 IUserAreaService
userId
- 用户ID