2021-05-15 14:01:12 +08:00
|
|
|
|
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
|
|
|
|
|
|
{
|
2021-05-21 13:06:45 +08:00
|
|
|
|
[Obsolete]
|
2021-05-15 14:01:12 +08:00
|
|
|
|
[Route("api/Bom/List")]
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
|
|
|
|
|
|
|
public IEnumerable<Model.Response.MOM.Bom> GetList()
|
|
|
|
|
|
{
|
|
|
|
|
|
return new NX.ERP.U8.Mom.BomDAL().GetList();
|
|
|
|
|
|
}
|
2021-05-21 13:06:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Route("api/Bom/Query")]
|
|
|
|
|
|
[HttpPost]
|
|
|
|
|
|
|
|
|
|
|
|
public IEnumerable<Model.Response.MOM.Bom> GetList(NX.ERP.Model.Request.Bom bom)
|
|
|
|
|
|
{
|
|
|
|
|
|
return new NX.ERP.U8.Mom.BomDAL().GetList(bom);
|
|
|
|
|
|
}
|
2021-05-15 14:01:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|