软测单独项目
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.
 
 
 
 
 
 

70 lines
2.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FangYar.BLL.TBL
{
public class SysSocietyBLL
{
private static readonly FangYar.IDAL.TBL.SysSocietyIDAL dal = FangYar.DALFactory.Factory.GetSysSocietyDAL();
/// <summary>
/// 根据ID获取model
/// </summary>
public FangYar.Model.TBL.TBL_SYS_SOCIETY_Model GetModelByID(string ID)
{
return dal.GetModelByID(ID);
}
/// <summary>
/// 添加菜单
/// </summary>
public bool Add(FangYar.Model.TBL.TBL_SYS_SOCIETY_Model model)
{
return dal.Add(model);
}
/// <summary>
/// 删除
/// </summary>
public bool Delete(string IDList)
{
return dal.Delete(IDList);
}
/// <summary>
/// 编辑
/// </summary>
public bool Edit(FangYar.Model.TBL.TBL_SYS_SOCIETY_Model model)
{
return dal.Edit(model);
}
//获取记录数
public int Count(string where) {
return dal.Count(where);
}
/// <summary>
/// 分页
/// </summary>
/// <param name="PageIndex"></param>
/// <param name="PageSize"></param>
/// <param name="strwhere"></param>
/// <param name="order"></param>
public void QueryProc(int PageIndex, int PageSize, string strwhere, string order)
{
dal.QueryProc(PageIndex, PageSize, strwhere, order);
}
/// <summary>
/// 分页
/// </summary>
/// <param name="PageIndex"></param>
/// <param name="PageSize"></param>
/// <param name="strwhere"></param>
/// <param name="order"></param>
/// <returns></returns>
public List<FangYar.Model.TBL.TBL_SYS_SOCIETY_Model> QueryList(int PageIndex, int PageSize, string strwhere, string order)
{
return dal.QueryList(PageIndex, PageSize, strwhere, order);
}
}
}