旧版报表、仓库
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.
 
 
 
 
 

34 lines
1.1 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Warehouse.DAL.PackOutput;
using Warehouse.DAL.Report;
namespace Warehouse.WebApi
{
public class ShiftProductionController : ApiController
{
ShiftProductionDal DT = new ShiftProductionDal();
[Route("api/ShiftProduction/ShiftProduction")]
[HttpPost]
public IHttpActionResult QueryInfo(dynamic para)
{
string workshop = para.workshop; //车间
string begintime = para.begintime; //时间
string endtime = para.endtime;
string station = para.station; //站点
//string wks_id = para.wks_id; //设备机台
string workorder = para.workorder; //工单
//string worktime = para.worktime;
string type = para.type;
string mod = para.mod;
var res = DT.ShiftProduction(workshop, begintime, endtime, station, workorder,type,mod);
return Json(res);
//return Json<dynamic>(new { AA = "aa", BB = "cc" });
}
}
}