From 58bd958f1fa8a85d0a3ac33a1ab1e2cab5d63dd2 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 20 六月 2024 20:18:46 +0800
Subject: [PATCH] 按照SN号查询最新的工单

---
 代码管理/WMS/WMS_Server/WIDESEA_WMS/Common/GetStation/EmptyTrayIn.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/GetStation/EmptyTrayIn.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/GetStation/EmptyTrayIn.cs"
index 9d160c8..27b7e4c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/GetStation/EmptyTrayIn.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/GetStation/EmptyTrayIn.cs"
@@ -11,7 +11,7 @@
 using WIDESEA_WMS.IRepositories;
 using WIDESEA_WMS.Repositories;
 
-namespace WIDESEA_WCS.JobsPart.Common
+namespace WIDESEA_WMS.Common
 {
     public class EmptyTray
     {
@@ -103,6 +103,7 @@
                     EmptyStation.location_state = LocationStateEnum.Busy.ToString();
                     stationinfoRepository.Update(EmptyStation, true);
                     toEmptyStation.location_state = LocationStateEnum.Busy.ToString();
+                    toEmptyStation.tray_status = TrayStateEnum.EmptyTray.ToString();
                     stationinfoRepository.Update(toEmptyStation, true);
                     WriteDBLog.Success("鍒涘缓鍙犵洏浣嶇┖鎵樺叆搴撲换鍔�", $"浠诲姟缂栧彿锛歿agvtask.agv_tasknum}", "PCS");
                 }

--
Gitblit v1.9.3