using System; using System.Collections.Generic; using System.Linq; using System.Text; using CY.Model; using CY.IBaseDAL; using System.Data; namespace CY.IDAL { /// /// 权限菜单表-数据库操作接口 /// public interface ISys_Permissions_MenuDAL : ICommonDAL, IPaging, IGetAllModel { IEnumerable GetMenuByParentId(int parentId); /// /// 根据上级编号查询全部菜单 /// /// 编号 /// IEnumerable SelectListByParentId(int? ParentId); /// /// 查询全部菜单 /// /// DataTable SelectList(); /// /// 根据编号查询单个信息 /// /// 编号 /// Sys_Permissions_Menu SelectModelByKeyId(int? KeyId); /// /// 根据上级编号查询单个信息 /// /// 上级编号 /// Sys_Permissions_Menu SelectModelByParentId(int? ParentId); /// /// 查询全部启用的菜单 /// /// DataTable SelectAllUsedList(); /// /// 根据编号查询此菜单的一二三级 /// /// 编号 /// Sys_Permissions_Menu GetAllKeyidByMenuId(int? MenuId); } }