From 0831fc62745a46b056e450395b0366ec168a6e55 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 26 三月 2026 13:44:45 +0800
Subject: [PATCH] 1

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs
index 5a531aa..1bf9205 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs
@@ -132,8 +132,9 @@
                 var entity = new Dt_StockInfo
                 {
                     PalletCode = stock.TargetPalletNo,
+                    //WarehouseId = stock.WarehouseId > 0 ? stock.WarehouseId : 1,
                     WarehouseId = 1,
-                    StockStatus = 1,
+                    StockStatus = StockStatusEmun.缁勭洏鏆傚瓨.GetHashCode(),
                     Creater = "system",
                     Details = details
                 };

--
Gitblit v1.9.3