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
629 B
26 lines
629 B
2 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Net;
|
||
|
using System.Net.Http;
|
||
|
using System.Web.Http;
|
||
|
using Warehouse.DAL.YL;
|
||
|
|
||
|
namespace Warehouse.WebApi.YL
|
||
|
{
|
||
|
public class UpshiftRateController : ApiController
|
||
|
{
|
||
|
UpshiftRateDal DT = new UpshiftRateDal();
|
||
|
|
||
|
[Route("api/UpshiftRate/UpshiftRate")]
|
||
|
[HttpPost]
|
||
|
public IHttpActionResult UpshiftRate(dynamic para)
|
||
|
{
|
||
|
string wo = para.wo;
|
||
|
string bt = para.bt;
|
||
|
string et = para.et;
|
||
|
var res = DT.Upshift(wo, bt,et);
|
||
|
return Json(res);
|
||
|
}
|
||
|
}
|
||
|
}
|