33 lines
989 B
C#
33 lines
989 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 BussRKReport:IBussFactory
|
|
{
|
|
public List<RKReportModel> GetReport(RKReportModel model)
|
|
{
|
|
DataTable dt = DataProvider.Instance.RKReport.GetRKReportDT(model);
|
|
List<RKReportModel> RKReportList = new List<RKReportModel>();
|
|
RKReportList = ConvertHelper<RKReportModel>.ConvertToList(dt);
|
|
|
|
return RKReportList;
|
|
}
|
|
public DataTable GetReport2(String date1,String date2)
|
|
{
|
|
DataTable dt = DataProvider.Instance.RKReport.GetRKReportDT2(date1,date2);
|
|
|
|
return dt;
|
|
//List<RKReportModel> RKReportList = new List<RKReportModel>();
|
|
//RKReportList = ConvertHelper<RKReportModel>.ConvertToList(dt);
|
|
//return RKReportList ;
|
|
}
|
|
}
|
|
}
|