From 1581189aad05d97267d240a65e0215f4946130e5 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期四, 12 三月 2026 15:29:30 +0800
Subject: [PATCH] feat: 新增异常任务处理按钮 fix: 修复任务取消bug,按照分组取消。 refactor: 重构日志为文本,减少数据库压力

---
 项目代码/WCSServices/WIDESEAWCS_Server/Controllers/WebAPIController.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/WebAPIController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/WebAPIController.cs"
index 40a56db..ea003e7 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/WebAPIController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Server/Controllers/WebAPIController.cs"
@@ -15,6 +15,7 @@
 using WIDESEAWCS_Core.LogHelper;
 using WIDESEAWCS_DTO;
 using WIDESEAWCS_DTO.Agv;
+using WIDESEAWCS_DTO.TaskInfo;
 using WIDESEAWCS_IBasicInfoRepository;
 using WIDESEAWCS_ITaskInfoRepository;
 using WIDESEAWCS_ITaskInfoService;
@@ -59,7 +60,12 @@
                 {
                     return content.Error("浼犲叆涓嶈兘涓虹┖");
                 }
-                content.OK("鎺ユ敹鎴愬姛");
+                List<TaskBackLight> taskBackLights = lightBackDTOs.Select(x => new TaskBackLight()
+                {
+                    TagNo="B2",
+                    TagCode=x.LOCATION,
+                }).ToList();
+                content = _taskService.WMSLightBack(taskBackLights);
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3