From 37454e625df68d40897112b2e8c2e3cf4d7163e3 Mon Sep 17 00:00:00 2001
From: heshaofeng <heshaofeng@hnkhzn.com>
Date: 星期三, 25 三月 2026 11:43:10 +0800
Subject: [PATCH] 1
---
项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Jobs/QuartzJobMildd.cs | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Jobs/QuartzJobMildd.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Jobs/QuartzJobMildd.cs"
index 09e3e2e..2630709 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Jobs/QuartzJobMildd.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Jobs/QuartzJobMildd.cs"
@@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Text;
using WIDESEA.QuartzJob;
+using WIDESEA_Core;
using WIDESEA_Core.Helper;
namespace WIDESEA_WMSServer
@@ -34,8 +35,38 @@
Name = "AgvTaskJob",
TriggerType = 0
},
+ new TasksQz()
+ {
+ Id = 2,
+ AssemblyName = "WIDESEA_WMSServer",
+ ClassName = "InventoryLockJob",
+ CreateTime = DateTime.Now,
+ IntervalSecond = 3,
+ IsDeleted = false,
+ IsStart = false,
+ JobGroup = "WIDESEA_WMSServer",
+ Name = "InventoryLockJob",
+ TriggerType = 0
+ },new TasksQz()
+ {
+ Id = 3,
+ AssemblyName = "WIDESEA_WMSServer",
+ ClassName = "ErpJob",
+ CreateTime = DateTime.Now,
+ IntervalSecond = 50000,
+ IsDeleted = false,
+ IsStart = false,
+ JobGroup = "WIDESEA_WMSServer",
+ Name = "ErpJob",
+ TriggerType = 0
+ },
};
+
+ if (App.HostEnvironment.IsDevelopment())
+ {
+ return;
+ }
foreach (var item in allQzServices)
{
var ResuleModel = schedulerCenter.AddScheduleJobAsync(item).Result;
--
Gitblit v1.9.3