@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 SysRoleMenuServicepublic List<Long> queryMenuIdList(Long roleId)
SysRoleMenuServicequeryMenuIdList in interface SysRoleMenuServiceCopyright © 2021. All rights reserved.