From e3e8a0ce6776d8800755f6c84a9665d108f42c69 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 22 Jan 2021 11:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NX.ERP.Model/Request/Dispatch.cs | 2 +- NX.ERP.Model/Response/Base/Materiel.cs | 1 + NX.ERP.Model/Response/Sale/DispatchList.cs | 2 +- NX.ERP.Model/Response/Sale/DispatchListDetail.cs | 4 +++- NX.ERP.U8/Base/MaterielDAL.cs | 2 +- NX.ERP.WebAPi/Controllers/MOM/MomOrderController.cs | 2 +- NX.ERP.WebAPi/NX.ERP.WebAPi.csproj | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/NX.ERP.Model/Request/Dispatch.cs b/NX.ERP.Model/Request/Dispatch.cs index 4a667e2..0093a33 100644 --- a/NX.ERP.Model/Request/Dispatch.cs +++ b/NX.ERP.Model/Request/Dispatch.cs @@ -5,7 +5,7 @@ using System.Text; namespace NX.ERP.Model.Request { - public class Dispatch + public class Dispatch:BaseModel { public string SalesOrderNo { get; set; } } diff --git a/NX.ERP.Model/Response/Base/Materiel.cs b/NX.ERP.Model/Response/Base/Materiel.cs index c2bbed3..626d526 100644 --- a/NX.ERP.Model/Response/Base/Materiel.cs +++ b/NX.ERP.Model/Response/Base/Materiel.cs @@ -48,6 +48,7 @@ namespace NX.ERP.Model public int MinStock { get => minStock; set => minStock = value; } + public int SafeStock { get; set; } public int Aql { get => aql; set => aql = value; } diff --git a/NX.ERP.Model/Response/Sale/DispatchList.cs b/NX.ERP.Model/Response/Sale/DispatchList.cs index e2cf5eb..dd4d0af 100644 --- a/NX.ERP.Model/Response/Sale/DispatchList.cs +++ b/NX.ERP.Model/Response/Sale/DispatchList.cs @@ -5,7 +5,7 @@ using System.Text; namespace NX.ERP.Model.Sale { - public class DispatchList + public class DispatchList:BaseModel { public int SalesOrderId { get; set; } public string SalesOrderNo { get; set; } diff --git a/NX.ERP.Model/Response/Sale/DispatchListDetail.cs b/NX.ERP.Model/Response/Sale/DispatchListDetail.cs index 97efe38..9f8883f 100644 --- a/NX.ERP.Model/Response/Sale/DispatchListDetail.cs +++ b/NX.ERP.Model/Response/Sale/DispatchListDetail.cs @@ -5,7 +5,9 @@ using System.Text; namespace NX.ERP.Model.Sale { - public class DispatchListDetail + + public class DispatchListDetail : BaseModel + { private int sales_order_dtl_id; private string invCode; diff --git a/NX.ERP.U8/Base/MaterielDAL.cs b/NX.ERP.U8/Base/MaterielDAL.cs index 89d3d55..df9a45b 100644 --- a/NX.ERP.U8/Base/MaterielDAL.cs +++ b/NX.ERP.U8/Base/MaterielDAL.cs @@ -30,7 +30,7 @@ namespace NX.ERP.U8 cGroupCode AS 计量单位组编码, cAssComUnitCode AS 辅计量单位编码, cInvStd AS SpecsModel, - iSafeNum AS 安全库存量, + iSafeNum AS SafeStock, iTopSum AS MaxStock, iLowSum AS MinStock, iMassDate AS 保质期数, diff --git a/NX.ERP.WebAPi/Controllers/MOM/MomOrderController.cs b/NX.ERP.WebAPi/Controllers/MOM/MomOrderController.cs index 7ea9589..358e058 100644 --- a/NX.ERP.WebAPi/Controllers/MOM/MomOrderController.cs +++ b/NX.ERP.WebAPi/Controllers/MOM/MomOrderController.cs @@ -8,7 +8,7 @@ namespace NX.ERP.WebAPi.Controllers.MOM { public class MomOrderController : ApiController { - [Obsolete] + [Route("api/MomOrder/List")] [HttpGet] public IEnumerable List() diff --git a/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj b/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj index 2b9fcea..15b70ec 100644 --- a/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj +++ b/NX.ERP.WebAPi/NX.ERP.WebAPi.csproj @@ -32,7 +32,7 @@ full false bin\ - DEBUG;TRACE + TRACE;DEBUG prompt 4 x86