@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)
SysMenuService
queryListParentId
in interface SysMenuService
parentId
- 父菜单IDmenuIdList
- 用户菜单IDpublic List<SysMenuEntity> queryNotButtonList()
SysMenuService
queryNotButtonList
in interface SysMenuService
public List<SysMenuEntity> getUserMenuList(Long userId)
SysMenuService
getUserMenuList
in interface SysMenuService
public SysMenuEntity queryObject(Long menuId)
SysMenuService
queryObject
in interface SysMenuService
public List<SysMenuEntity> queryList(Map<String,Object> map)
SysMenuService
queryList
in interface SysMenuService
public int queryTotal(Map<String,Object> map)
SysMenuService
queryTotal
in interface SysMenuService
public void save(SysMenuEntity menu)
SysMenuService
save
in interface SysMenuService
public void update(SysMenuEntity menu)
SysMenuService
update
in interface SysMenuService
@Transactional public void deleteBatch(Long[] menuIds)
SysMenuService
deleteBatch
in interface SysMenuService
public List<SysMenuEntity> queryUserList(Long userId)
SysMenuService
queryUserList
in interface SysMenuService
Copyright © 2021. All rights reserved.