From 7eb38edc26049ddf4ba5b031c6644b973c0cdaff Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期五, 21 三月 2025 16:02:38 +0800 Subject: [PATCH] 更新U9实体 --- Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs b/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs index a7ec6b8..5546b7f 100644 --- a/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs +++ b/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs @@ -495,7 +495,7 @@ sqn++; var itemcode = dic[sqn]; var whUnit = whUnits.FirstOrDefault(q => q.WH_CODE + "@" + q.LOCATION_CODE == input.WarehouseCode + "@" + item.Location); - var mesCount = mesData.Count != 0 ? (mesData.FirstOrDefault(i => i.SHIPPING_SN == item.SN).SO_NUMBER).ToDecimal() : 0; + var mesCount = mesData.Count != 0 ? (mesData.FirstOrDefault(i => i.SHIPPING_SN == item.SN).SO_NUMBER).ToDouble() : 0; if (whUnit.IsNullOrEmpty()) { Logger.Scheduler.Info($"褰撳墠宸ュ崟锛歿input.WorkOrder} 鏈兘鏌ヨ鍒板綋鍓嶅簱浣�/鍌ㄤ綅{input.WarehouseCode}/{item.Location}淇℃伅锛岃纭璇ュ簱浣�/鍌ㄤ綅鏄惁瀛樺湪锛�"); @@ -579,7 +579,7 @@ #region 娣诲姞 SN-Box鏁版嵁 var whUnit = whUnits.FirstOrDefault(q => q.WH_CODE + "@" + q.LOCATION_CODE == input.WarehouseCode + "@" + item.Location); - var mesCount = mesData.Count != 0 ? (mesData.FirstOrDefault(i => i.SHIPPING_SN == item.SN).SO_NUMBER).ToDecimal() : 0; + var mesCount = mesData.Count != 0 ? (mesData.FirstOrDefault(i => i.SHIPPING_SN == item.SN).SO_NUMBER).ToDouble() : 0; pkgModel.Add(new WMS_ITEM_PKG() { AUTH_ORG = inData?.AUTH_ORG, @@ -876,7 +876,7 @@ /// <param name="input"></param> /// <param name="Count"></param> /// <returns></returns> - public List<BIZ_ERP_PROD_IN_DTL> ChangeDTL(List<BIZ_ERP_PROD_IN_DTL> input, decimal Count) + public List<BIZ_ERP_PROD_IN_DTL> ChangeDTL(List<BIZ_ERP_PROD_IN_DTL> input, double Count) { var model = new List<BIZ_ERP_PROD_IN_DTL>(); var data = input.Where(i => i.INSTOCKQTY < i.PRQTY).OrderBy(i => i.BILLLINE).ToList(); -- Gitblit v1.9.3