From a372b271c01f5ad0491c74b7e9fd4a078ad526cc Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期一, 10 十一月 2025 18:37:26 +0800
Subject: [PATCH] 优化退货代码
---
新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/InOrderJob.cs | 13 ++++++++++++-
1 files changed, 12 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/InOrderJob.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/InOrderJob.cs"
index 0b814d0..a35156c 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/InOrderJob.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/InOrderJob.cs"
@@ -14,15 +14,26 @@
_materielInfoService = materielInfoService;
}
//姣忛殧1绉掓墽琛屼竴娆�
- [Invoke(Begin = "2025-11-01", Interval = 1000 * 5, IsEnabled = true, SkipWhileExecuting = true)]
+ [Invoke(Begin = "2025-11-01", Interval = 1000 * 18, IsEnabled = true, SkipWhileExecuting = true)]
public void Run()
{
_materielInfoService.GetMedicineGoodsInfom();
+ Thread.Sleep(1000);
_business.GetInOrder();
+ Thread.Sleep(1000);
_business.GetOutOrder();
+ Thread.Sleep(1000);
_business.CompleteAllOrders();
+ Thread.Sleep(1000);
_business.CompleteAllOutOrders();
+ Thread.Sleep(1000);
Console.WriteLine($"ERP浠诲姟鎵ц缁撴潫锛歿DateTime.Now}");
+ _materielInfoService.ProductSynchronous();
+ Thread.Sleep(1000);
+ _business.EdiIn();
+ Thread.Sleep(1000);
+ _business.EdiOut();
+ Console.WriteLine($"WCS浠诲姟鎵ц缁撴潫锛歿DateTime.Now}");
}
}
}
--
Gitblit v1.9.3