using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Model.ModelDto.SysDto;
using Model.ModelVm.SysVm;
using WMS.Entity.SysEntity;
namespace WMS.IBLL.ISysServer
{
///
/// 菜单服务方法
///
public interface IMenuServer
{
///
/// 获取菜单信息列表
///
/// 菜单Dto
///
List GetMenuList(string MenuName, string pMenuNo, string MenuNo, string level);
///
/// 根据层级获取菜单列表
///
///
///
///
List GetMenuListForRight(string level, string UserId);
///
/// 获取模块菜单
///
///
List GetParentMenuList();
///
/// 根据id获取菜单信息列表
///
/// 菜单id
///
SysFunctionMenu GetMenuListById(int menuid);
///
/// 根据编号获取菜单信息列表
///
/// 菜单编号
///
int GetMenuListByNo(string menuno);
///
/// 新增菜单信息
///
/// 菜单DTO模型
///
Task InsertMenu(FunctionMenuDto menudto);
///
/// 删除菜单信息
///
/// 菜单id
///
Task DeleteMenu(SysFunctionMenu menu);
///
/// 编辑菜单信息
///
/// 菜单实体模型
///
Task UpdateMenu(FunctionMenuVm menuvm);
///
/// 根据父级菜单号获取菜单信息
///
/// 菜单号
///
List GetMenuByParentNo(string menuNo);
}
}