@Service(value="sysRoleService") public class SysRoleServiceImpl extends Object implements SysRoleService
Constructor and Description |
---|
SysRoleServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteBatch(Long[] roleIds) |
List<SysRoleEntity> |
queryList(Map<String,Object> map) |
SysRoleEntity |
queryObject(Long roleId) |
Page<UserWindowDto> |
queryPageByDto(UserWindowDto userWindowDto,
int pageNum)
分页查询角色审批选择范围
|
List<Long> |
queryRoleIdList(Long createUserId)
查询用户创建的角色ID列表
|
int |
queryTotal(Map<String,Object> map) |
void |
save(SysRoleEntity role) |
void |
update(SysRoleEntity role) |
public SysRoleEntity queryObject(Long roleId)
queryObject
in interface SysRoleService
public List<SysRoleEntity> queryList(Map<String,Object> map)
queryList
in interface SysRoleService
public int queryTotal(Map<String,Object> map)
queryTotal
in interface SysRoleService
@Transactional public void save(SysRoleEntity role)
save
in interface SysRoleService
@Transactional public void update(SysRoleEntity role)
update
in interface SysRoleService
@Transactional public void deleteBatch(Long[] roleIds)
deleteBatch
in interface SysRoleService
public List<Long> queryRoleIdList(Long createUserId)
SysRoleService
queryRoleIdList
in interface SysRoleService
public Page<UserWindowDto> queryPageByDto(UserWindowDto userWindowDto, int pageNum)
SysRoleService
queryPageByDto
in interface SysRoleService
Copyright © 2021. All rights reserved.