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.
26 lines
695 B
26 lines
695 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 CellBatchRateController : ApiController
|
|
{
|
|
CellBatchRateDal DT = new CellBatchRateDal();
|
|
|
|
[Route("api/CellBatchRate/CellBatchRate")]
|
|
[HttpPost]
|
|
public IHttpActionResult Repair(dynamic para)
|
|
{
|
|
string sale_order = para.sales;
|
|
string workorder = para.wo;
|
|
string area_code = para.workshop;
|
|
var res = DT.CellBatchRate(sale_order, workorder,area_code);
|
|
return Json(res);
|
|
}
|
|
}
|
|
}
|
|
|