From fa534ee4311b24e8a32393bbe34c00adb8f25f6f Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Mon, 30 Jun 2025 08:22:44 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E7=AE=A1=E7=90=86=E9=A1=B5=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E5=88=97=E6=98=BE=E7=A4=BA=E4=BD=9C=E4=B8=9A=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=B7=B2=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1441426846482432]定时作业管理页增加一列显示作业是否已加载 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1441426846482432 --- .../api/schedule/AutoexecScheduleListApi.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/neatlogic/module/autoexec/api/schedule/AutoexecScheduleListApi.java b/src/main/java/neatlogic/module/autoexec/api/schedule/AutoexecScheduleListApi.java index e2f4a5fa..8b64465e 100644 --- a/src/main/java/neatlogic/module/autoexec/api/schedule/AutoexecScheduleListApi.java +++ b/src/main/java/neatlogic/module/autoexec/api/schedule/AutoexecScheduleListApi.java @@ -15,11 +15,8 @@ import neatlogic.framework.common.dto.BasePageVo; import neatlogic.framework.restful.annotation.*; import neatlogic.framework.restful.constvalue.OperationTypeEnum; import neatlogic.framework.restful.core.privateapi.PrivateApiComponentBase; -import neatlogic.framework.scheduler.core.SchedulerManager; -import neatlogic.framework.scheduler.dto.JobStatusVo; import neatlogic.framework.util.TableResultUtil; import neatlogic.module.autoexec.service.AutoexecCombopService; -import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import javax.annotation.Resource; @@ -43,9 +40,6 @@ public class AutoexecScheduleListApi extends PrivateApiComponentBase { @Resource private AutoexecCombopService autoexecCombopService; - @Resource - private SchedulerManager schedulerManager; - @Override public String getToken() { return "autoexec/schedule/list"; @@ -112,12 +106,6 @@ public class AutoexecScheduleListApi extends PrivateApiComponentBase { if (execCount != null) { autoexecScheduleVo.setExecCount(execCount); } - boolean isLoad = false; - JobStatusVo jobStatusVo = autoexecScheduleVo.getJobStatus(); - if (jobStatusVo != null && StringUtils.isNotBlank(jobStatusVo.getJobName()) && StringUtils.isNotBlank(jobStatusVo.getJobGroup())) { - isLoad = schedulerManager.checkJobIsExists(jobStatusVo.getJobName(), jobStatusVo.getJobGroup()); - } - autoexecScheduleVo.setIsLoad(isLoad ? 1 : 0); } } } -- Gitee