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

25 lines
659 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Warehouse.DAL.Report;
namespace Warehouse.WebApi
{
public class FragmentationRateController : ApiController
{
FragmentationRateDal DT = new FragmentationRateDal();
[Route("api/FragmentationRate/FragmentationRate")]
[HttpPost]
public IHttpActionResult Fragment(dynamic para)
{
string machine = para.machine;
string workshop = para.workshop;
var res = DT.Fragmentation(machine, workshop);
return Json(res);
}
}
}