添加导出到货单接口
This commit is contained in:
22
NX.ERP.WebAPi/Controllers/ArrivalController.cs
Normal file
22
NX.ERP.WebAPi/Controllers/ArrivalController.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using NX.ERP.U8.Purchase;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class ArrivalController : ApiController
|
||||
{
|
||||
// GET api/values
|
||||
[HttpGet]
|
||||
public IEnumerable<Model.Purchase.Arrival> List()
|
||||
{
|
||||
var customerDAL = new ArrivalDAL();
|
||||
return customerDAL.GetList();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -127,6 +127,7 @@
|
||||
<Compile Include="App_Start\FilterConfig.cs" />
|
||||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="App_Start\WebApiConfig.cs" />
|
||||
<Compile Include="Controllers\ArrivalController.cs" />
|
||||
<Compile Include="Controllers\HomeController.cs" />
|
||||
<Compile Include="Controllers\CustomerController.cs" />
|
||||
<Compile Include="Controllers\MaterielController.cs" />
|
||||
|
||||
Reference in New Issue
Block a user