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.9 KiB
66 lines
1.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace FangYar.BLL.ZHSQ
|
|
{
|
|
public class GetWarnPushBLL
|
|
{
|
|
private static readonly FangYar.IDAL.ZHSQ.WarnPushIDAL dal = FangYar.DALFactory.Factory.GetWarnPushDAL();
|
|
|
|
/// <summary>
|
|
/// 根据ID获取model
|
|
/// </summary>
|
|
public FangYar.Model.ZHSQ.ZHSQ_WARN_PUSH_Model GetModelByID(string ID)
|
|
{
|
|
return dal.GetModelByID(ID);
|
|
}
|
|
/// <summary>
|
|
/// 添加
|
|
/// </summary>
|
|
public bool Add(FangYar.Model.ZHSQ.ZHSQ_WARN_PUSH_Model model)
|
|
{
|
|
return dal.Add(model);
|
|
|
|
}
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
public bool Delete(string IDList)
|
|
{
|
|
return dal.Delete(IDList);
|
|
}
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
public bool Edit(FangYar.Model.ZHSQ.ZHSQ_WARN_PUSH_Model model)
|
|
{
|
|
return dal.Edit(model);
|
|
}
|
|
|
|
/// <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.ZHSQ.ZHSQ_WARN_PUSH_Model> QueryList(int PageIndex, int PageSize, string strwhere, string order)
|
|
{
|
|
return dal.QueryList(PageIndex, PageSize, strwhere, order);
|
|
}
|
|
}
|
|
}
|
|
|