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/MES/Partial/syncOrderFeature.cs |    9 +++++----
 1 files changed, 5 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 0b92364..eed2dac 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"
@@ -23,7 +23,7 @@
 
                 if (string.IsNullOrEmpty(json.ToString())) throw new Exception("璇锋眰鍙傛暟涓虹┖");
                 Console.WriteLine(json);
-                var result = JsonConvert.DeserializeObject<List<SyncOrderFeatureInfo>>(json.ToString());
+                var result = JsonConvert.DeserializeObject<List<SyncOrderFeatureInfo>>(json.ToString());  //List<SyncOrderFeatureInfo>
 
                 //todo  淇敼瀵瑰簲鏁版嵁
 
@@ -38,12 +38,13 @@
 
                 LogFactory.GetLog("璁㈠崟鐗瑰緛鍚屾").Info(true, $"\r\r--------------------------------------");
                 LogFactory.GetLog("璁㈠崟鐗瑰緛鍚屾").Info(true, result.ToJsonString());
-                return content.OK();
+                return content.OK("鍚屾鎴愬姛");
             }
             catch (Exception ex)
             {
-                LogFactory.GetLog("璁㈠崟鐗瑰緛鍚屾").Info(true, json.ToJsonString());
-                return content.Error();
+                LogFactory.GetLog("璁㈠崟鐗瑰緛鍚屾").Info(true, $"\r\r--------------------------------------");
+                LogFactory.GetLog("璁㈠崟鐗瑰緛鍚屾").Info(true, $"璁㈠崟鐗瑰緛鍚屾寮傚父锛歿ex.Message}");
+                return content.Error(ex.Message);
             }
         }
     }

--
Gitblit v1.9.3