using JHReport.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Warehouse.Models.mesModel; namespace Warehouse.DAL.YL { public class DataQueryDal { public List Query(string wo, string bt,string et,string text) { using (var context = new mesModel()) { ReportDal report = new ReportDal(); string sql = report.QuerySql(wo, bt,et,text); var res = context.DynamicListFromSql(sql, null); return res.ToList(); } } } }