From 2df3b287a5c868f987b99ff00dc1d2339747b8f1 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 09 三月 2026 09:48:13 +0800
Subject: [PATCH] Merge branch 'feature/multi-outbound-address-roundrobin' - 实现多出库口轮询功能

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index 28564a1..d49b8e8 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -8,6 +8,7 @@
 using WIDESEA_Core;
 using WIDESEA_Core.BaseRepository;
 using WIDESEA_Core.BaseServices;
+using WIDESEA_Core.Core;
 using WIDESEA_DTO;
 using WIDESEA_DTO.Task;
 using WIDESEA_IBasicService;
@@ -209,6 +210,7 @@
                     var r when r.Contains("CW") => DateTime.Now.AddHours(1),
                     _ => DateTime.Now
                 };
+                stockInfo.StockStatus = StockStatusEmun.鍏ュ簱瀹屾垚.GetHashCode();
 
                 location.LocationStatus = LocationStatusEnum.InStock.GetHashCode();
 
@@ -492,8 +494,8 @@
 
                 // 4. 鑾峰彇閰嶇疆鐨勭洰鏍囧湴鍧�鏄犲皠
                 var targetAddressMap = _configuration.GetSection("AutoOutboundTask:TargetAddresses")
-                    .Get<Dictionary<string, string>>()
-                    ?? new Dictionary<string, string>();
+                    .Get<Dictionary<string, List<string>>>()
+                    ?? new Dictionary<string, List<string>>();
 
                 // 5. 鎵归噺鍒涘缓浠诲姟
                 var taskList = new List<Dt_Task>();

--
Gitblit v1.9.3