添加BOM查询接口

This commit is contained in:
gongxh
2021-05-15 14:01:12 +08:00
parent 242b0a28b4
commit 2b6ec892d8
6 changed files with 160 additions and 0 deletions

View 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();
}
}
}