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.
28 lines
810 B
28 lines
810 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 ReceivedAndDepositController : ApiController
|
|
{
|
|
|
|
ReceivedAndDepositDAL DT = new ReceivedAndDepositDAL();
|
|
[Route("api/ReceivedAndDeposit/ReceivedAndDeposit")]
|
|
[HttpPost]
|
|
public IHttpActionResult QueryInfo(dynamic para)
|
|
{
|
|
string locationname = para.locationname;
|
|
string name = para.name;
|
|
string bt = para.bt;
|
|
string et = para.et;
|
|
string sale_order = para.sale_order;
|
|
var res = DT.ReceivedAndDeposit(bt, et, name, locationname, sale_order);
|
|
return Json(res);
|
|
}
|
|
}
|
|
}
|
|
|