From 59bc10620e483c7f558eac4127d04d08871f0e27 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 27 三月 2026 14:12:27 +0800
Subject: [PATCH] fix(RouterService): QueryAllPositions 空 catch 块增加错误日志
---
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