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.
27 lines
679 B
27 lines
679 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Net.Http;
|
|
using System.Web.Http;
|
|
using Warehouse.DAL.BarcodeReprint;
|
|
|
|
namespace Warehouse.WebApi
|
|
{
|
|
public class BarcodeReprintController : ApiController
|
|
{
|
|
BarcodeReprintDal DT = new BarcodeReprintDal();
|
|
|
|
[Route("api/BarcodeReprint/Reprint")]
|
|
[HttpPost]
|
|
public IHttpActionResult Reprint(dynamic para)
|
|
{
|
|
string wo = para.wo;
|
|
string sn = para.sn;
|
|
string bt = para.bt;
|
|
string et = para.et;
|
|
var res = DT.Reprint(wo, sn,bt, et);
|
|
return Json(res);
|
|
}
|
|
}
|
|
}
|