From 8854e1659aed3225919238422fc1de8f5d61d02a Mon Sep 17 00:00:00 2001
From: WINDOWS-F96JH03\Kain <MrTianDeLe@163.com>
Date: 星期二, 17 三月 2026 14:34:03 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/Queue.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/Queue.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/Queue.cs"
index 7ca7cb4..af8ed5f 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/Queue.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/Queue.cs"
@@ -9,6 +9,7 @@
 using WIDESEA_Common.MES;
 using WIDESEA_Core;
 using WIDESEA_DTO;
+using WIDESEA_StorageBasicRepository;
 
 namespace WIDESEA_StoragIntegrationServices
 {
@@ -49,7 +50,7 @@
 
                 //杩囩偣淇℃伅
                 WebResponseContent content1 = _mesService.PassPoint(json);
-                if (!content1.Status) throw new Exception($"杩囩偣澶辫触锛歿content1.msg},璇锋眰淇℃伅:{{json.ToJson()");
+                if (!content1.Status) throw new Exception($"杩囩偣澶辫触锛歿content1.msg},璇锋眰淇℃伅:{json.ToJson()}");
 
                 //鑾峰彇VIN鍙�
                 WebResponseContent responseContent = _mesService.getCharacteristic(json);
@@ -64,6 +65,13 @@
                     VechicleModel = carinfo.vehicleCharacteristic,
                 };
 
+                var mesLock = _mesLockInfoRepository.QueryFirst(x => x.carBodyID == carinfo.Id);
+                if (mesLock != null)
+                {
+                    mesLock.LockStatue = 2;
+                    _mesLockInfoRepository.UpdateData(mesLock);
+                }
+
                 content.OK(data: respon);
             }
             catch (Exception ex)

--
Gitblit v1.9.3