From 0cf29ba50d05efa7d8db3666aa865c45982bf5d8 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期一, 27 十月 2025 16:32:01 +0800
Subject: [PATCH] 优化前端
---
新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/OutOrderJob.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 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 9d4805a..5cca600 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"
@@ -5,20 +5,20 @@
{
public class OutOrderJob : Job
{
- private readonly IDeliveryOrderServices _deliveryOrderServices;
- public OutOrderJob(IDeliveryOrderServices deliveryOrderServices)
+ private readonly IBusiness _business;
+ public OutOrderJob(IBusiness business)
{
- _deliveryOrderServices = deliveryOrderServices;
+ _business = business;
}
//姣忛殧1绉掓墽琛屼竴娆�
- [Invoke(Begin = "2025-09-01", Interval = 1000 * 5, IsEnabled =true, SkipWhileExecuting = true)]
+ [Invoke(Begin = "2025-09-01", Interval = 1000 * 5, IsEnabled = false, SkipWhileExecuting = true)]
public void Run()
{
//鑾峰彇涓婃父鍑哄簱鍗曟暟鎹�
- _deliveryOrderServices.GetUpstreamOutOrder();
+ _business.GetUpstreamOutOrder();
//涓嬪彂wcs
- //_deliveryOrderServices.EdiOut();
- _deliveryOrderServices.CompleteAllOutOrders();
+ _business.EdiOut();
+ _business.CompleteAllOutOrders();
}
}
--
Gitblit v1.9.3