From c84eb83d59f5d3057a6f3dbc375d3c98a6447c2f Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期五, 13 三月 2026 17:00:56 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs
index a37ee14..2d7c7d1 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs
@@ -470,7 +470,7 @@
 
                     Dt_InboundOrderDetail notGroupDetail = new Dt_InboundOrderDetail();
 
-                    notGroupDetail = inboundOrder.Details.Where(x => x.OrderDetailStatus <= OrderDetailStatusEnum.Inbounding.ObjToInt() && x.MaterielCode == model.MaterielCode && x.SupplierBatch == model.LotNo && x.OrderQuantity > x.ReceiptQuantity).FirstOrDefault();
+                    notGroupDetail = inboundOrder.Details.Where(x => x.OrderDetailStatus <= OrderDetailStatusEnum.Inbounding.ObjToInt() && x.MaterielCode == model.MaterielCode && x.BatchNo == model.LotNo && x.OrderQuantity > x.ReceiptQuantity).FirstOrDefault();
 
                     if (notGroupDetail.MaterielType == 1)
                     {
@@ -1110,7 +1110,7 @@
                     }
 
                     // 鏇存柊璁㈠崟鏄庣粏
-                    if (detailsToUpdate.Count > 0)                             
+                    if (detailsToUpdate.Count > 0)
                     {
                         _inboundRepository.InboundOrderDetailRepository.UpdateData(detailsToUpdate);
                     }
@@ -1152,7 +1152,7 @@
             WebResponseContent webResponseContent = new WebResponseContent();
             try
             {
-                var soussAddress = saveModel.MainData["soussAddress"]; 
+                var soussAddress = saveModel.MainData["soussAddress"];
                 var targetAddress = saveModel.MainData["targetAddress"];
 
                 Dt_StockInfo stockInfo = _stockRepository.StockInfoRepository.Db.Queryable<Dt_StockInfo>().Includes(x => x.Details).Where(x => x.PalletCode == soussAddress).First();

--
Gitblit v1.9.3