@Service(value="sysMenuService") public class SysMenuServiceImpl extends Object implements SysMenuService
| Constructor and Description |
|---|
SysMenuServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteBatch(Long[] menuIds)
删除
|
List<SysMenuEntity> |
getUserMenuList(Long userId)
获取用户菜单列表
|
List<SysMenuEntity> |
queryList(Map<String,Object> map)
查询菜单列表
|
List<SysMenuEntity> |
queryListParentId(Long parentId,
List<Long> menuIdList)
根据父菜单,查询子菜单
|
List<SysMenuEntity> |
queryNotButtonList()
获取不包含按钮的菜单列表
|
SysMenuEntity |
queryObject(Long menuId)
查询菜单
|
int |
queryTotal(Map<String,Object> map)
查询总数
|
List<SysMenuEntity> |
queryUserList(Long userId)
查询用户的权限列表
|
void |
save(SysMenuEntity menu)
保存菜单
|
void |
update(SysMenuEntity menu)
修改
|
public List<SysMenuEntity> queryListParentId(Long parentId, List<Long> menuIdList)
SysMenuServicequeryListParentId in interface SysMenuServiceparentId - 父菜单IDmenuIdList - 用户菜单IDpublic List<SysMenuEntity> queryNotButtonList()
SysMenuServicequeryNotButtonList in interface SysMenuServicepublic List<SysMenuEntity> getUserMenuList(Long userId)
SysMenuServicegetUserMenuList in interface SysMenuServicepublic SysMenuEntity queryObject(Long menuId)
SysMenuServicequeryObject in interface SysMenuServicepublic List<SysMenuEntity> queryList(Map<String,Object> map)
SysMenuServicequeryList in interface SysMenuServicepublic int queryTotal(Map<String,Object> map)
SysMenuServicequeryTotal in interface SysMenuServicepublic void save(SysMenuEntity menu)
SysMenuServicesave in interface SysMenuServicepublic void update(SysMenuEntity menu)
SysMenuServiceupdate in interface SysMenuService@Transactional public void deleteBatch(Long[] menuIds)
SysMenuServicedeleteBatch in interface SysMenuServicepublic List<SysMenuEntity> queryUserList(Long userId)
SysMenuServicequeryUserList in interface SysMenuServiceCopyright © 2021. All rights reserved.