旧版报表、仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
911 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Warehouse.Models.mesModel;
using Warehouse.Models.mesMysqlModel;
using JHReport.DAL;
namespace Warehouse.DAL.Report
{
public class StorageReportDAL
{
public List<dynamic> Storage(string bt, string et, string name, string locationname, string containerno, string palletno, string final_grade, string power_grade,string workorder, string sareorder, string area_code,string serial)
{
using (var context = new mesModel())
{
ReportDal report = new ReportDal();
string sql = report.StorageSql(bt, et, name, locationname, containerno, palletno, final_grade, power_grade,workorder,sareorder,area_code,serial);
var res = context.DynamicListFromSql(sql, null);
return res.ToList();
}
}
}
}