Files
CleanMachine/CleanMachine.BLL/ZBK/DayReportBLL.cs
2022-05-28 14:29:19 +08:00

31 lines
1.1 KiB
C#

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