From 8cdcf8cb6fecf101bd7dd1db2e44f0cf5ddc0fd4 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期一, 15 十二月 2025 10:11:41 +0800
Subject: [PATCH] 添加移位功能,以及修改pad

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/OutOrderJob.cs |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/OutOrderJob.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/OutOrderJob.cs"
index 2797947..b699e00 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/OutOrderJob.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/OutOrderJob.cs"
@@ -14,9 +14,12 @@
         }
 
         //姣忛殧1绉掓墽琛屼竴娆�
-        [Invoke(Begin = "2025-11-01", Interval = 1000 * 5, IsEnabled = false, SkipWhileExecuting = true)]
+        [Invoke(Begin = "2025-11-01", Interval = 1000 * 18, IsEnabled = true, SkipWhileExecuting = true)]
         public void Run()
         {
+            try
+            {
+
             // 鐗╂枡淇℃伅鑾峰彇 - 鐙珛浣滅敤鍩�
             using (var scope1 = _serviceScopeFactory.CreateScope())
             {
@@ -104,6 +107,13 @@
             }
             Console.WriteLine($"浠ラ噴鏀� EdiOut 鐨勬暟鎹簱杩炴帴锛歿DateTime.Now}");
             Console.WriteLine($"WCS浠诲姟鎵ц缁撴潫锛歿DateTime.Now}");
+
+            }
+            catch (Exception ex)
+            {
+
+                Console.WriteLine($"閿欒锛歿ex.Message}");
+            }
         }
     }
 }

--
Gitblit v1.9.3