From baad30699918c536d0b96e36df70b8f352d520e4 Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期五, 15 八月 2025 10:15:53 +0800
Subject: [PATCH] 同步

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/Partial/taskResult.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/Partial/taskResult.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/Partial/taskResult.cs"
index 9378838..be03cf8 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/Partial/taskResult.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/Partial/taskResult.cs"
@@ -41,7 +41,8 @@
                 if (taskResult.result.ToLower() == "task_execute")   //AGV寮�濮嬫墽琛�
                 {
                     task.TaskState = (int)TaskStatusEnum.Executing;
-                    _taskRepository.Update(task);
+                    task.Dispatchertime = DateTime.Now;
+                    _taskRepository.UpdateData(task);
                 }
 
                 if (taskResult.result.ToLower() == "task_complete") //AGV浠诲姟缁撴潫 

--
Gitblit v1.9.3