From 899431897edfed8e746cd4354e28301ccd0df20e Mon Sep 17 00:00:00 2001 From: zhangzhiqiang Date: Fri, 18 Aug 2023 20:08:16 +0800 Subject: [PATCH 01/10] =?UTF-8?q?add:=E6=B7=BB=E5=8A=A0=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=85=B3=E9=97=AD=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/quartz/utils/QuartzManage.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/system_manage/service/quartz/utils/QuartzManage.java b/mes/hd/nladmin-system/src/main/java/org/nl/wms/system_manage/service/quartz/utils/QuartzManage.java index 749a7079..f02ff9f6 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/system_manage/service/quartz/utils/QuartzManage.java +++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/system_manage/service/quartz/utils/QuartzManage.java @@ -7,6 +7,7 @@ import org.quartz.*; import org.quartz.impl.triggers.CronTriggerImpl; import org.springframework.stereotype.Component; +import javax.annotation.PreDestroy; import javax.annotation.Resource; import java.util.Date; @@ -155,4 +156,16 @@ public class QuartzManage { throw new BadRequestException("删除定时任务失败"); } } + + + @PreDestroy + private void shutdown(){ + try { + log.warn("---------JobTask shutdown begin--------"); + scheduler.shutdown(true); + log.warn("---------JobTask shutdown complete--------"); + } catch (Exception e) { + log.error("---------JobTask shutdown error--------", e); + } + } } From 626f7b7aaddd5c5080262a17e6d3e932014f5485 Mon Sep 17 00:00:00 2001 From: zhangzhiqiang Date: Sun, 20 Aug 2023 17:56:56 +0800 Subject: [PATCH 02/10] =?UTF-8?q?rev:=E4=BF=AE=E6=94=B9mes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/config/application-prod.yml | 2 +- mes/qd/src/layout/components/Sidebar/Logo.vue | 2 +- mes/qd/src/views/login.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mes/hd/nladmin-system/src/main/resources/config/application-prod.yml b/mes/hd/nladmin-system/src/main/resources/config/application-prod.yml index 16582f94..09feff96 100644 --- a/mes/hd/nladmin-system/src/main/resources/config/application-prod.yml +++ b/mes/hd/nladmin-system/src/main/resources/config/application-prod.yml @@ -199,4 +199,4 @@ sa-token: # - redis://127.0.0.1:6379 es: index: mes_log -schedulerFile: C:\mes\scheduler.xml +schedulerFile: C:\lms\scheduler.xml diff --git a/mes/qd/src/layout/components/Sidebar/Logo.vue b/mes/qd/src/layout/components/Sidebar/Logo.vue index f266e559..ba96c841 100644 --- a/mes/qd/src/layout/components/Sidebar/Logo.vue +++ b/mes/qd/src/layout/components/Sidebar/Logo.vue @@ -34,7 +34,7 @@ export default { }, data() { return { - title: '海亮mes系统', + title: '海亮lms系统', logo: Logo, title_param: 'platform' } diff --git a/mes/qd/src/views/login.vue b/mes/qd/src/views/login.vue index a501e8dc..29777e50 100644 --- a/mes/qd/src/views/login.vue +++ b/mes/qd/src/views/login.vue @@ -2,7 +2,7 @@