From dd2b970907682890ab0f16c6efc7c04edfe1598f Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期六, 06 四月 2024 11:30:33 +0800
Subject: [PATCH] 添加移库外协互斥锁

---
 代码管理/WMS/WMS_Server/WIDESEA_WMS/Common/AGVTask/HandleTask.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/AGVTask/HandleTask.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/AGVTask/HandleTask.cs"
index cf72c64..71cfa50 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/AGVTask/HandleTask.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/AGVTask/HandleTask.cs"
@@ -171,6 +171,7 @@
                 station2.stationType = task.agv_materielid;
                 station2.tray_status = task.agv_TrayStatus;//妯斁/绔栨斁
                 station2.tray_type = task.agv_Traytype;
+                station2.lastUpdateTime=DateTime.Now;
                 stationinfoRepository.Update(station2, true);
             }
             else if (task.agv_taskstate == AGVTaskStateEnum.Complete.ToString())
@@ -207,6 +208,7 @@
                     //if (!station1.stationCode.Contains("X") && !station1.stationCode.Contains("S") && !station1.stationCode.Contains("W01001004") && !station1.stationCode.Contains("W01001005"))
                     //    station1.tray_type = string.Empty;
                 }
+                station1.lastUpdateTime = DateTime.Now;
                 stationinfoRepository.Update(station1, true);
             }
         }

--
Gitblit v1.9.3