From c52beb3de8041240d8c5c530d46797ecbdbdabdb Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期二, 17 三月 2026 14:41:14 +0800
Subject: [PATCH] 合并

---
 项目代码/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/RequstCarBodyInfo.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/RequstCarBodyInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/RequstCarBodyInfo.cs"
index 3531035..c0d83a4 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/RequstCarBodyInfo.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/RequstCarBodyInfo.cs"
@@ -20,16 +20,16 @@
             WebResponseContent webResponseContent = new WebResponseContent();
             try
             {
-                var carInfo = _carBodyInfoRepository.QueryFirst(x => x.PVI == json.PVI);
+                var carInfo = _carBodyInfoRepository.QueryFirst(x => x.RFID == json.PVI);
                 if (carInfo != null) throw new Exception($"PVI{json.PVI}杞﹁韩鏁版嵁宸插瓨鍦�");
 
                 ///璇锋眰鐒婅杞﹁韩鐗瑰緛
                 WebResponseContent webResponse = _mesService.issuedCharacter(json.PVI, json.Position, json.PalletCode);
-                if (webResponse.Status) throw new Exception($"{webResponse.Message}");
+                if (!webResponse.Status) throw new Exception($"{webResponse.Message}");
 
                 ///BDC01  杩囩偣
                 WebResponseContent content = _mesService.PassPoint(json);
-                if (content.Status) throw new Exception($"{content.Message}");
+                if (!content.Status) throw new Exception($"{content.Message}");
 
                 return webResponseContent.OK();
 

--
Gitblit v1.9.3