2022-05-16 13:54:26 +08:00
|
|
|
|
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);
|
|
|
|
|
|
}
|
2022-05-28 14:29:19 +08:00
|
|
|
|
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 });
|
|
|
|
|
|
}
|
2022-05-16 13:54:26 +08:00
|
|
|
|
|
2022-05-16 16:06:44 +08:00
|
|
|
|
public IEnumerable<Model.ZBK.OperatorReport> GetOPReport(string strWhere, object Params = null)
|
|
|
|
|
|
{
|
|
|
|
|
|
return new CleanMachine.DAL.ZBK.DayReportDAL().GetOPReport(strWhere, Params);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-05-28 14:29:19 +08:00
|
|
|
|
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 });
|
|
|
|
|
|
}
|
2022-05-16 16:06:44 +08:00
|
|
|
|
|
2022-05-16 13:54:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|