From dd45231398da022f9cf6ee76f488257fef5c5afe Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期日, 26 四月 2026 16:13:28 +0800
Subject: [PATCH] feat(AGV): 添加极卷库管理

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs |    3 ++-
 1 files changed, 2 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 bf5137d..6bc8518 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_AutoOutbound.cs
@@ -33,7 +33,8 @@
                 // 杩囨护鏈変綅缃笖浣嶇疆鏈夊簱瀛樼殑璁板綍
                 expiredStocks = expiredStocks
                     .Where(s => s.LocationDetails != null
-                        && s.LocationDetails.LocationStatus == LocationStatusEnum.InStock.GetHashCode())
+                        && s.LocationDetails.LocationStatus == LocationStatusEnum.InStock.GetHashCode()
+                        && s.LocationDetails.EnableStatus != EnableStatusEnum.Disable.GetHashCode())
                     .ToList();
 
                 if (!expiredStocks.Any())

--
Gitblit v1.9.3