From daea1a90c2fa1b5cc2f52e62be15bd95cc4155f6 Mon Sep 17 00:00:00 2001
From: Tiandele <tiandele@hnkhzn.com>
Date: 星期五, 20 三月 2026 17:16:04 +0800
Subject: [PATCH] 优化手动锁车逻辑

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

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/TZPassZZ.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/TZPassZZ.cs"
index 5231589..4b9d3f5 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/TZPassZZ.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/TZPassZZ.cs"
@@ -17,7 +17,7 @@
             WebResponseContent content = new WebResponseContent();
             try
             {
-                var carInfo = _carBodyInfoRepository.QueryFirst(x => x.RFID == json.Rfid);  ///*x.PalletCode == json.PalletCode ||*/
+                var carInfo = _carBodyInfoRepository.QueryFirst(x => x.RFID == json.PVI);  ///*x.PalletCode == json.PalletCode ||*/
                 if (carInfo != null) throw new Exception($"娑傝鐩撮�氭�昏澶辫触:PVI{json.Rfid}宸插瓨鍦ㄣ��");
 
                 WebResponseContent responseContent = _mesService.issuedCharacter(json.PVI, json.Position, json.PalletCode);
@@ -30,20 +30,20 @@
                 //json.PVI = json.PVI.Substring(0, 9);
                 json.Position = "RB001";
                 WebResponseContent content1 = _mesService.PassPoint(json);
-                if (!content1.Status) throw new Exception($"杩囩偣澶辫触锛歿content1.msg}");
+                if (!content1.Status) throw new Exception($"BDC02杩囩偣澶辫触锛歿content1.msg}");
 
                 WebResponseContent webResponse = _mesService.bindWorkOrder("EL01RB", json.PVI);
-                if (!responseContent.Status) throw new Exception($"缁戝畾澶辫触锛歿webResponse.msg}");
+                if (!webResponse.Status) throw new Exception($"鐒婃秱缁戝畾澶辫触锛歿webResponse.msg}");
 
                 //杩囩偣淇℃伅 -BDC02
                 json.Position = "EL01RB";
                 WebResponseContent BDC02 = _mesService.PassPoint(json);
-                if (!BDC02.Status) throw new Exception($"杩囩偣澶辫触锛歿BDC02.msg}");
+                if (!BDC02.Status) throw new Exception($"BDC02杩囩偣澶辫触锛歿BDC02.msg}");
 
                 ////杩囩偣淇℃伅 -BDC03
                 json.Position = "EL01RB01";
                 WebResponseContent BDC03 = _mesService.PassPoint(json);
-                if (!BDC03.Status) throw new Exception($"杩囩偣澶辫触锛歿BDC03.msg}");
+                if (!BDC03.Status) throw new Exception($"BDC03杩囩偣澶辫触锛歿BDC03.msg}");
 
                 content.OK();
             }

--
Gitblit v1.9.3