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 queryListParentId(Long parentId, List menuIdList); /** * 获取不包含按钮的菜单列表 */ List queryNotButtonList(); /** * 获取用户菜单列表 */ List getUserMenuList(Long userId); /** * 查询菜单 */ SysMenuEntity queryObject(Long menuId); /** * 查询菜单列表 */ List queryList(Map map); /** * 查询总数 */ int queryTotal(Map map); /** * 保存菜单 */ void save(SysMenuEntity menu); /** * 修改 */ void update(SysMenuEntity menu); /** * 删除 */ void deleteBatch(Long[] menuIds); /** * 查询用户的权限列表 */ List queryUserList(Long userId); }