@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 SysUserRoleServicepublic List<Long> queryRoleIdList(Long userId)
SysUserRoleServicequeryRoleIdList in interface SysUserRoleServicepublic void delete(Long userId)
delete in interface SysUserRoleServiceCopyright © 2021. All rights reserved.