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 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(); } } } }