软测单独项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

89 lines
2.7 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FangYar.IDAL.TBL
{
public interface SysMenuIDAL
{
/// <summary>
/// 根据ID获取model
/// </summary>
FangYar.Model.TBL.TBL_SYS_MENU_Model GetModelByID(string ID);
/// <summary>
/// 根据AppId获取model
/// </summary>
/// <param name="Code"></param>
/// <returns></returns>
FangYar.Model.TBL.TBL_SYS_MENU_Model GetModelByAppId(string AppId);
/// <summary>
/// 添加菜单
/// </summary>
bool Add(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
/// <summary>
/// 删除
/// </summary>
bool Delete(string IDList);
/// <summary>
/// 编辑
/// </summary>
/// <param name="BaseMenu"></param>
/// <returns></returns>
bool Edit(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
/// <summary>
/// 获取记录总数
/// </summary>
/// <param name="where"></param>
/// <returns></returns>
int Count(string where);
/// <summary>
/// 分页
/// </summary>
/// <param name="PageIndex"></param>
/// <param name="PageSize"></param>
/// <param name="strwhere"></param>
/// <param name="order"></param>
void QueryProc(int PageIndex, int PageSize, string strwhere, string order);
List<FangYar.Model.TBL.TBL_SYS_MENU_Model> QueryList(int PageIndex, int PageSize, string strwhere, string order);
List<FangYar.Model.TBL.TBL_SYS_MENU_Model> QueryWhere(string strwhere);
/// <summary>
/// flow用的
/// 添加菜单
/// </summary>
bool flowAdd(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
/// <summary>
/// flow用的
/// 编辑
/// </summary>
/// <param name="BaseMenu"></param>
/// <returns></returns>
bool flowEdit(FangYar.Model.TBL.TBL_SYS_MENU_Model SysMenu);
/// <summary>
/// flow用的
/// 根据type字段查询list集合
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
List<FangYar.Model.TBL.TBL_SYS_MENU_Model> typegetmenu(string type);
/// <summary>
/// flow用的
/// 根据CODE获取实体对象
/// </summary>
Model.TBL.TBL_SYS_MENU_Model GetModelByCODE(string code);
/// <summary>
/// 删除 角色与菜单关联表
/// </summary>
/// <param name="strlist"></param>
/// <returns></returns>
bool DeleteRoleMenu(string IDList);
}
}