From 6b74e1dcf5642c8f56975471e27780d695953989 Mon Sep 17 00:00:00 2001
From: 陈勇 <竞男@ASUNA>
Date: 星期日, 26 四月 2026 15:48:01 +0800
Subject: [PATCH] 同步代码
---
项目代码/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/syncOrderFeature.cs | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/syncOrderFeature.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/syncOrderFeature.cs"
index eed2dac..63fc710 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/syncOrderFeature.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/syncOrderFeature.cs"
@@ -20,20 +20,17 @@
WebResponseContent content = new WebResponseContent();
try
{
-
if (string.IsNullOrEmpty(json.ToString())) throw new Exception("璇锋眰鍙傛暟涓虹┖");
- Console.WriteLine(json);
+ //Console.WriteLine(json);
var result = JsonConvert.DeserializeObject<List<SyncOrderFeatureInfo>>(json.ToString()); //List<SyncOrderFeatureInfo>
//todo 淇敼瀵瑰簲鏁版嵁
-
foreach (var item in result)
{
if (string.IsNullOrEmpty(item.workOrderNo)) throw new Exception($"鏈煡宸ュ崟鍙穥item.workOrderNo}");
var info = _assemblyOrderInfoRepository.QueryFirst(x => x.workOrderNo == item.workOrderNo);
if (info == null) throw new Exception($"鏈煡宸ュ崟鍙穥item.workOrderNo}");
-
}
LogFactory.GetLog("璁㈠崟鐗瑰緛鍚屾").Info(true, $"\r\r--------------------------------------");
--
Gitblit v1.9.3