From deb12fd2b06ccc821104aa475a8fb784c39dfb2c Mon Sep 17 00:00:00 2001
From: heshaofeng <heshaofeng@hnkhzn.com>
Date: 星期一, 02 二月 2026 19:01:00 +0800
Subject: [PATCH] 添加音频播放和优化调拨明细查询方法

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Jobs/QuartzJobMildd.cs |   34 +++++++++++++++++++++++++++++-----
 1 files changed, 29 insertions(+), 5 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 2c7e0ee..6bd2f14 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"
@@ -35,14 +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
+                    },
 
                 };
 
-                //Console.WriteLine("HostEnvironment"+App.HostEnvironment.IsDevelopment());
-                if(App.HostEnvironment.IsDevelopment())
-                {
-                    return;
-                }
+                //if (App.HostEnvironment.IsDevelopment())
+                //{
+                //    return;
+                //}
                 foreach (var item in allQzServices)
                 {
                     var ResuleModel = schedulerCenter.AddScheduleJobAsync(item).Result;

--
Gitblit v1.9.3