From 49a177598902683ea538de64848499911f4f25b9 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期日, 19 四月 2026 19:25:35 +0800
Subject: [PATCH] refactor(RobotState): 将 RobotStateManager 从 Redis 改为依赖数据库仓储 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs
index 9a40dd7..1ff2f9f 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs
@@ -18,5 +18,15 @@
         {
         }
 
+        /// <summary>
+        /// 鑾峰彇鎵�鏈変粨搴�
+        /// </summary>
+        /// <returns>浠撳簱鍒楄〃</returns>
+        [HttpGet("GetAll")]
+        public async Task<WebResponseContent> GetAll()
+        {
+            var result = await Service.Repository.QueryDataAsync(x => x.WarehouseStatus == 1);
+            return WebResponseContent.Instance.OK(data: result);
+        }
     }
 }

--
Gitblit v1.9.3