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_Tasks/AGV/AGVExtend.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs"
index 4babe88..d8a73f9 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs"
@@ -14,6 +14,7 @@
 using WIDESEAWCS_DTO.Agv;
 using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob;
+using WIDESEAWCS_TaskInfoService;
 
 namespace WIDESEAWCS_Tasks
 {
@@ -29,6 +30,7 @@
                 #region 鍑哄簱浠诲姟涓嬪彂
                 if (newTasksOut.Count>0)
                 {
+                    WriteLog.Write_Log("AGV鍑哄簱浠诲姟涓嬪彂", "鍑哄簱浠诲姟涓嬪彂鎺ュ彛", "娣诲姞浠诲姟", $"浠诲姟锛歿newTasksOut.ToJson()}");
                     foreach (var GroupTask in newTasksOut.GroupBy(x=>x.NextAddress))
                     {
                         int taskCount = 6;
@@ -116,6 +118,7 @@
                 #region 鍏ュ簱浠诲姟涓嬪彂
                 if (newTasksIn.Count > 0)
                 {
+                    WriteLog.Write_Log("AGV鍏ュ簱浠诲姟涓嬪彂", "鍑哄簱浠诲姟涓嬪彂鎺ュ彛", "娣诲姞浠诲姟", $"浠诲姟锛歿newTasksIn.ToJson()}");
                     foreach (var task in newTasksIn)
                     {
                         try

--
Gitblit v1.9.3