@Service(value="sysRoleMenuService") public class SysRoleMenuServiceImpl extends Object implements SysRoleMenuService
Constructor and Description |
---|
SysRoleMenuServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<Long> |
queryMenuIdList(Long roleId)
根据角色ID,获取菜单ID列表
|
void |
saveOrUpdate(Long roleId,
List<Long> menuIdList) |
@Transactional public void saveOrUpdate(Long roleId, List<Long> menuIdList)
saveOrUpdate
in interface SysRoleMenuService
public List<Long> queryMenuIdList(Long roleId)
SysRoleMenuService
queryMenuIdList
in interface SysRoleMenuService
Copyright © 2021. All rights reserved.