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
586 B
26 lines
586 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Net.Http;
|
|
using System.Web.Http;
|
|
using Warehouse.DAL.WOprocess;
|
|
|
|
namespace Warehouse.WebApi
|
|
{
|
|
//工单各站点在制
|
|
[RoutePrefix("api/WOprocess")]
|
|
public class WOprocessController : ApiController
|
|
{
|
|
|
|
WOprocess wop = new WOprocess();
|
|
[Route("QueryInfo")]
|
|
[HttpPost]
|
|
public IHttpActionResult QueryInfo(dynamic para)
|
|
{
|
|
var res = wop.QueryInfo(Convert.ToString(para.wo));
|
|
return Json(res);
|
|
}
|
|
|
|
}
|
|
}
|