1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- package com.kmall.common.service;
- import com.kmall.common.entity.SysMenuEntity;
- import java.util.List;
- import java.util.Map;
- /**
- * 菜单管理
- *
- * @author Scott
- * @email
- * @date 2016年9月18日 上午9:42:16
- */
- public interface SysMenuService {
- /**
- * 根据父菜单,查询子菜单
- *
- * @param parentId 父菜单ID
- * @param menuIdList 用户菜单ID
- */
- List<SysMenuEntity> queryListParentId(Long parentId, List<Long> menuIdList);
- /**
- * 获取不包含按钮的菜单列表
- */
- List<SysMenuEntity> queryNotButtonList();
- /**
- * 获取用户菜单列表
- */
- List<SysMenuEntity> getUserMenuList(Long userId);
- /**
- * 查询菜单
- */
- SysMenuEntity queryObject(Long menuId);
- /**
- * 查询菜单列表
- */
- List<SysMenuEntity> queryList(Map<String, Object> map);
- /**
- * 查询总数
- */
- int queryTotal(Map<String, Object> map);
- /**
- * 保存菜单
- */
- void save(SysMenuEntity menu);
- /**
- * 修改
- */
- void update(SysMenuEntity menu);
- /**
- * 删除
- */
- void deleteBatch(Long[] menuIds);
- /**
- * 查询用户的权限列表
- */
- List<SysMenuEntity> queryUserList(Long userId);
- }
|