using Warehouse.DAL.YieldForm; using Warehouse.DAL.YieldFormCheck; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Warehouse.Models.mesModel; namespace Warehouse.DAL.YieldForm { public class YieldFormDal { //白班月份计划 public List DayMonthFormInfo(string WorkShop,string MonthYear, string MonthMonth) { using (var context = new mesModel()) { YieldFormCheckDal DayPlan = new YieldFormCheckDal(); string sql = DayPlan.MonthFormInfoSql(WorkShop,MonthYear, MonthMonth); var res = context.DynamicListFromSql(sql, null); return res.ToList(); } } } }