From 9de6c7c6d835ba5161d64114d154bfc7676244a1 Mon Sep 17 00:00:00 2001
From: 陈勇 <竞男@ASUNA>
Date: 星期一, 06 四月 2026 12:44:43 +0800
Subject: [PATCH] 同步
---
项目代码/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/HZPassTZ.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/HZPassTZ.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/HZPassTZ.cs"
index 8f707ed..e99e746 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/HZPassTZ.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/WCS/Partial/HZPassTZ.cs"
@@ -21,7 +21,7 @@
//if (carInfo != null) throw new Exception($"娑傝鐩撮�氭�昏澶辫触:PVI{json.Rfid}宸插瓨鍦ㄣ��");
var station = _stationManagerRepository.QueryFirst(x => x.stationChildCode == json.Position);
- if (station == null) throw new Exception("绔欏彴鏈壘鍒�");
+ if (station == null) throw new Exception($"{json.Position}宸ヤ綅绔欏彴鏈壘鍒�");
WebResponseContent webResponse = _mesService.bindWorkOrder(json.Position, json.PVI);
if (!webResponse.Status) throw new Exception($"鐒婃秱缁戝畾澶辫触锛歿webResponse.msg}");
@@ -34,7 +34,8 @@
}
catch (Exception ex)
{
- content.Error(ex.Message);
+ throw new Exception($"鐒婅鎻愬崌鏈哄紓甯�:{ex.Message}");
+ //content.Error(ex.Message);
}
return content;
}
--
Gitblit v1.9.3