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
750 B
26 lines
750 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 BarCodeAndQualityRateController : ApiController
|
|
{
|
|
BarCodeAndQualityRateDal DT = new BarCodeAndQualityRateDal();
|
|
|
|
[Route("api/BarCodeAndQualityRate/BarCodeAndQualityRate")]
|
|
[HttpPost]
|
|
public IHttpActionResult Repair(dynamic para)
|
|
{
|
|
string sale_order = para.sale_order;
|
|
string workorder = para.workorder;
|
|
string station = para.station;
|
|
var res = DT.BarCodeAndQualityRate(sale_order, workorder,station);
|
|
return Json(res);
|
|
}
|
|
}
|
|
}
|
|
|