33 lines
963 B
C#
33 lines
963 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using WMS.Model.Report;
|
|||
|
|
using WMS.IData;
|
|||
|
|
using System.Data;
|
|||
|
|
using WMS.Common;
|
|||
|
|
|
|||
|
|
namespace WMS.Business.Report
|
|||
|
|
{
|
|||
|
|
public class BussCKReport:IBussFactory
|
|||
|
|
{
|
|||
|
|
public List<CKReportModel> GetReport(CKReportModel model)
|
|||
|
|
{
|
|||
|
|
DataTable dt = DataProvider.Instance.CKReport.GetReport(model);
|
|||
|
|
List<CKReportModel> CKReportList = new List<CKReportModel>();
|
|||
|
|
CKReportList = ConvertHelper<CKReportModel>.ConvertToList(dt);
|
|||
|
|
|
|||
|
|
return CKReportList;
|
|||
|
|
}
|
|||
|
|
public List<CKReportModel> GetReport2(string date1,string date2)
|
|||
|
|
{
|
|||
|
|
DataTable dt = DataProvider.Instance.CKReport.GetReport2(date1,date2);
|
|||
|
|
List<CKReportModel> CKReportList = new List<CKReportModel>();
|
|||
|
|
CKReportList = ConvertHelper<CKReportModel>.ConvertToList(dt);
|
|||
|
|
|
|||
|
|
return CKReportList;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|