From fb0e58b2b636c37380a8d199886dbc4f17b924a6 Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Mon, 26 May 2025 08:35:17 +0800 Subject: [PATCH] =?UTF-8?q?opt=EF=BC=9A=E5=AE=9A=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E7=B1=BB=E6=94=B9=E6=88=90=E4=B8=B2=E8=A1=8C?= =?UTF-8?q?=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/system/service/quartz/utils/ExecutionJob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/quartz/utils/ExecutionJob.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/quartz/utils/ExecutionJob.java index 25611bc..7944cb0 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/quartz/utils/ExecutionJob.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/system/service/quartz/utils/ExecutionJob.java @@ -13,8 +13,10 @@ import org.nl.system.service.quartz.dao.SysQuartzJob; import org.nl.system.service.quartz.dao.SysQuartzLog; import org.nl.system.service.quartz.dao.mapper.SysQuartzLogMapper; import org.nl.system.service.quartz.impl.SysQuartzJobServiceImpl; +import org.quartz.DisallowConcurrentExecution; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; +import org.quartz.PersistJobDataAfterExecution; import org.springframework.scheduling.annotation.Async; import java.util.concurrent.Future; @@ -28,6 +30,7 @@ import java.util.concurrent.ThreadPoolExecutor; @Async @SuppressWarnings({"unchecked", "all"}) @Slf4j +@DisallowConcurrentExecution public class ExecutionJob extends TLogQuartzJobBean { /**