using System; using System.Collections.Generic; using System.Text; namespace CleanMachine.BLL.ZBK { public class DayReportBLL { public IEnumerable GetReport(string strWhere, object Params = null) { return new CleanMachine.DAL.ZBK.DayReportDAL().GetReport(strWhere, Params); } public IEnumerable GetReport(DateTime BeginDate, DateTime EndDate) { return new CleanMachine.DAL.ZBK.DayReportDAL().GetReport("date >=@BeginDate and Date<=@EndDate ", new { BeginDate, EndDate }); } public IEnumerable GetOPReport(string strWhere, object Params = null) { return new CleanMachine.DAL.ZBK.DayReportDAL().GetOPReport(strWhere, Params); } public IEnumerable GetOPReport(DateTime BeginDate, DateTime EndDate) { return new CleanMachine.DAL.ZBK.DayReportDAL().GetOPReport("date >=@BeginDate and Date<=@EndDate ", new { BeginDate, EndDate }); } } }