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
804 B
27 lines
804 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 CurEverydayStationCapacityController : ApiController
|
|
{
|
|
CurEverydayStationCapacityDal DT = new CurEverydayStationCapacityDal();
|
|
|
|
[Route("api/CurEverydayStationCapacity/CurEverydayStationCapacity")]
|
|
[HttpPost]
|
|
public IHttpActionResult Repair(dynamic para)
|
|
{
|
|
string workshop = para.workshop;
|
|
string station = para.station;
|
|
string year = para.year;
|
|
string month = para.month;
|
|
var res = DT.CurEverydayStationCapacity(workshop, station,year,month);
|
|
return Json(res);
|
|
}
|
|
}
|
|
}
|
|
|