From 2a978847c0dfef510349b097ef8202afe5647997 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期四, 22 一月 2026 15:47:27 +0800
Subject: [PATCH] 1

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

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs
index cf22938..4612cc1 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/Base/InboundOrderService.cs
@@ -443,7 +443,7 @@
                 {
                     stockInfo = new Dt_StockInfo()
                     {
-                        BatchNo ="",
+                        BatchNo = "",
                         PalletCode = palletCode,
                         PalletType = GetPalletType(warehouse, palletCode),//GetPalletType(warehouse, palletCode)
                         IsFull = true,
@@ -1011,7 +1011,7 @@
         public int GetPalletType(Dt_Warehouse warehouse, string palletCode)
         {
 
-            if (warehouse.WarehouseCode == WarehouseEnum.SC01_BC.ObjToString())
+            if (warehouse.WarehouseCode == WarehouseEnum.SC01_DW.ObjToString())
             {
                 Dt_PalletTypeInfo palletTypeInfo = _palletTypeInfoRepository.QueryFirst(x => x.CodeStartStr == palletCode.Substring(0, 3));
                 if (palletTypeInfo == null)
@@ -1020,6 +1020,8 @@
                 }
                 return palletTypeInfo.PalletType;
             }
+
+
             //else if (warehouse.WarehouseCode == WarehouseEnum.HA152.ObjToString())
             //{
             //    Dt_PalletTypeInfo palletTypeInfo = _palletTypeInfoRepository.QueryFirst(x => x.CodeStartStr == palletCode.Substring(0, 2));

--
Gitblit v1.9.3