Files
CleanMachine/CleanMachine.BLL/CM/ShiftCountBLL.cs
2022-05-10 15:42:29 +08:00

83 lines
1.8 KiB
C#

using CleanMachine.DAL.CM;
using System;
using System.Collections.Generic;
using System.Text;
namespace CleanMachine.BLL.CM
{
/// <summary>
///
/// </summary>
public class ShiftCountBLL
{
public ShiftCountBLL()
{
}
/// <summary>
/// 存在
/// </summary>
public bool Exists(DateTime DateTime)
{
return new ShiftCountDAL().Exists(DateTime);
}
/// <summary>
/// 添加一个数据
/// </summary>
public bool Add(CleanMachine.Model.CM.ShiftCount model)
{
return new ShiftCountDAL().Add(model);
}
/// <summary>
/// 更新一个数据
/// </summary>
public bool Update(CleanMachine.Model.CM.ShiftCount model)
{
return new ShiftCountDAL().Update(model);
}
/// <summary>
/// 删除一个数据
/// </summary>
public bool Delete(string strWhere, object Params = null)
{
return new ShiftCountDAL().Delete(strWhere, Params);
}
/// <summary>
/// 删除一个数据
/// </summary>
public bool Delete(DateTime DateTime)
{
return new ShiftCountDAL().Delete(DateTime);
}
/// <summary>
/// 获得数据列表
/// </summary>
public IEnumerable<CleanMachine.Model.CM.ShiftCount> GetList(string strWhere, object Params = null)
{
return new ShiftCountDAL().GetList(strWhere, Params);
}
/// <summary>
/// 查询数据
/// </summary>
// public IEnumerable<CleanMachine.Cm.Model.ShiftCount> GetModelList(RuleGroup rule)
// {
// return new ShiftCountDAL().GetModelList(rule);
// }
}
}