添加BOM查询接口
This commit is contained in:
19
NX.ERP.WebAPi/Controllers/MOM/BomController.cs
Normal file
19
NX.ERP.WebAPi/Controllers/MOM/BomController.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace NX.ERP.WebAPi.Controllers.MOM
|
||||
{
|
||||
public class BomController : ApiController
|
||||
{
|
||||
[Route("api/Bom/List")]
|
||||
[HttpGet]
|
||||
|
||||
public IEnumerable<Model.Response.MOM.Bom> GetList()
|
||||
{
|
||||
return new NX.ERP.U8.Mom.BomDAL().GetList();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -156,6 +156,7 @@
|
||||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="App_Start\SwaggerConfig.cs" />
|
||||
<Compile Include="App_Start\WebApiConfig.cs" />
|
||||
<Compile Include="Controllers\MOM\BomController.cs" />
|
||||
<Compile Include="Controllers\MOM\MomOrderController.cs" />
|
||||
<Compile Include="Controllers\Pmc\FinanceController.cs" />
|
||||
<Compile Include="Controllers\Pmc\PmcController.cs" />
|
||||
|
||||
Reference in New Issue
Block a user