using JHReport.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Warehouse.Models.mesModel; namespace Warehouse.DAL.BarcodeReprint { public class BarcodeReprintDal { public List Reprint(string wo,string sn, string bt, string et) { using (var context = new mesModel()) { ReportDal report = new ReportDal(); string sql = report.ReprintSql(wo,sn, bt, et); var res = context.DynamicListFromSql(sql, null); return res.ToList(); } } } }