@Service(value="sysUserRoleService") public class SysUserRoleServiceImpl extends Object implements SysUserRoleService
Constructor and Description |
---|
SysUserRoleServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete(Long userId) |
List<Long> |
queryRoleIdList(Long userId)
根据用户ID,获取角色ID列表
|
void |
saveOrUpdate(Long userId,
List<Long> roleIdList) |
public void saveOrUpdate(Long userId, List<Long> roleIdList)
saveOrUpdate
in interface SysUserRoleService
public List<Long> queryRoleIdList(Long userId)
SysUserRoleService
queryRoleIdList
in interface SysUserRoleService
public void delete(Long userId)
delete
in interface SysUserRoleService
Copyright © 2021. All rights reserved.