From 4d58609275685b1b5deaace933697dcf3f01359e Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 04 十一月 2025 12:29:00 +0800
Subject: [PATCH] 优化前端页面显示,优化前后端盘点
---
新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/OutOrderJob.cs | 14 ++++++++------
1 files changed, 8 insertions(+), 6 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 672c4ad..f29365a 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"
@@ -1,25 +1,27 @@
锘縰sing Pomelo.AspNetCore.TimedJob;
using WIDESEA_ISquareCabinServices;
+using WIDESEA_IWMsInfoServices;
namespace WIDESEA_WMSServer
{
public class OutOrderJob : Job
{
private readonly IBusiness _business;
- public OutOrderJob(IBusiness business)
+ private readonly IMaterielInfoService _materielInfoService;
+ public OutOrderJob(IBusiness business, IMaterielInfoService materielInfoService)
{
_business = business;
+ _materielInfoService = materielInfoService;
}
//姣忛殧1绉掓墽琛屼竴娆�
- [Invoke(Begin = "2025-09-01", Interval = 1000 * 30, IsEnabled = true, SkipWhileExecuting = true)]
+ [Invoke(Begin = "2025-11-01", Interval = 1000 * 8, IsEnabled = true, SkipWhileExecuting = true)]
public void Run()
{
//鑾峰彇涓婃父鍑哄簱鍗曟暟鎹�
- _business.GetUpstreamOutOrder();
- //涓嬪彂wcs
+ _materielInfoService.ProductSynchronous();
+ _business.EdiIn();
_business.EdiOut();
- _business.CompleteAllOutOrders();
-
+ Console.WriteLine($"WCS浠诲姟鎵ц缁撴潫锛歿DateTime.Now}");
}
}
}
--
Gitblit v1.9.3