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

66 lines
1.8 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FangYar.BLL.TBL
{
public class SysMobileBLL
{
private FangYar.IDAL.TBL.SysMobileIDAL dal = FangYar.DALFactory.Factory.GetSysMobileDAL();
/// <summary>
/// 根据UID获取model
/// </summary>
public FangYar.Model.TBL.TBL_SYS_MOBILE_Model GetModelByID(string ID)
{
return dal.GetModelByID(ID);
}
/// <summary>
/// 添加
/// </summary>
public bool Add(FangYar.Model.TBL.TBL_SYS_MOBILE_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_MOBILE_Model model)
{
return dal.Edit(model);
}
/// <summary>
/// 获取记录数
/// </summary>
/// <param name="strwhere"></param>
/// <returns></returns>
public int Count(string strwhere)
{
return dal.Count(strwhere);
}
/// <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);
}
public List<FangYar.Model.TBL.TBL_SYS_MOBILE_Model> QueryList(int PageIndex, int PageSize, string strwhere, string order)
{
return dal.QueryList(PageIndex, PageSize, strwhere, order);
}
}
}