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/Stock/StockController.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
index 2076b82..6fecdfb 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
@@ -72,7 +72,7 @@
         [HttpPost("SplitPalletConfirm"), AllowAnonymous]
         public async Task<WebResponseContent> SplitPalletConfirm([FromBody] SplitPalletConfirmRequestDto dto)
         {
-            return await Service.SplitPalletConfirmAsync(dto.PalletCode);
+            return await Service.SplitPalletConfirmAsync(dto.PalletCode, dto.DeviceName);
         }
 
         /// <summary>
@@ -83,7 +83,7 @@
         [HttpPost("GroupPalletConfirm"), AllowAnonymous]
         public async Task<WebResponseContent> GroupPalletConfirm([FromBody] GroupPalletConfirmRequestDto dto)
         {
-            return await Service.GroupPalletConfirmAsync(dto.PalletCode);
+            return await Service.GroupPalletConfirmAsync(dto.PalletCode, dto.DeviceName);
         }
     }
 }

--
Gitblit v1.9.3