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