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.
24 lines
745 B
24 lines
745 B
using JHReport.DAL;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using Warehouse.Models.mesModel;
|
|
namespace Warehouse.DAL.Report
|
|
{
|
|
public class ShiftProductionDal
|
|
{
|
|
public List<dynamic> ShiftProduction(string workshop, string begintime, string endtime, string station,string workorder,string type,string mod)
|
|
{
|
|
using (var context = new mesModel())
|
|
{
|
|
ReportDal report = new ReportDal();
|
|
|
|
string sql = report.ShiftProductionSql(workshop, begintime, endtime, station,workorder,type,mod);
|
|
var res = context.DynamicListFromSql(sql, null);
|
|
return res.ToList();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|