31 lines
1.1 KiB
C#
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 });
|
|
}
|
|
|
|
}
|
|
}
|