@Service @DS(value="authority") @Transactional(rollbackFor=java.lang.Exception.class, propagation=REQUIRES_NEW) public class RoleServiceImpl extends ServiceImpl<RoleMapper,Role> implements IRoleService
构造器和说明 |
---|
RoleServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
createRole(RoleBO roleBO)
添加角色
|
void |
deleteById(Long id)
删除角色
|
List<RoleBO> |
listRole()
查询角色列表
|
PageData<RoleBO> |
queryRole(String keyword,
List<Long> operatorIds,
String startDate,
String endDate,
Page<Role> page)
查询符合条件的角色信息
|
RoleBO |
queryRoleById(Long id,
boolean detail)
角色信息
|
void |
updateRole(Long id,
RoleBO roleBO)
更新角色
|
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 List<RoleBO> listRole()
IRoleService
listRole
在接口中 IRoleService
public PageData<RoleBO> queryRole(String keyword, List<Long> operatorIds, String startDate, String endDate, Page<Role> page)
IRoleService
queryRole
在接口中 IRoleService
keyword
- 关键词operatorIds
- 操作员ID集合startDate
- 创建开始时间endDate
- 创建结束时间page
- 分页排序条件public void createRole(RoleBO roleBO)
IRoleService
createRole
在接口中 IRoleService
roleBO
- 角色信息public void updateRole(Long id, RoleBO roleBO)
IRoleService
updateRole
在接口中 IRoleService
id
- 角色IDroleBO
- 角色信息public void deleteById(Long id)
IRoleService
deleteById
在接口中 IRoleService
id
- 角色IDpublic RoleBO queryRoleById(Long id, boolean detail)
IRoleService
queryRoleById
在接口中 IRoleService
id
- 角色IDdetail
- 是否需要明细信息