From e4f94566b56fc7bceafe892f0a679f399115d590 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期三, 29 四月 2026 08:54:10 +0800
Subject: [PATCH] Merge branch 'dev' of http://115.159.85.185:8098/r/SuZhouGuanHong/ShanMeiXinNengYuan into dev

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs
index 6bc8518..dab5322 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs
@@ -23,7 +23,7 @@
                 // 1. 鏌ヨ鍒版湡搴撳瓨
                 var expiredStocks = await _stockInfoService.Repository
                     .QueryDataNavAsync(s => s.OutboundDate <= DateTime.Now
-                        && s.StockStatus == StockStatusEmun.鍏ュ簱瀹屾垚.GetHashCode());
+                        && s.StockStatus == StockStatusEmun.鍏ュ簱瀹屾垚.GetHashCode() && s.WarehouseId != 3);
 
                 if (expiredStocks == null || !expiredStocks.Any())
                 {

--
Gitblit v1.9.3