From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 05 二月 2024 11:56:52 +0800 Subject: [PATCH] 更新bug修改 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/task/base/AbstractJob.java | 19 ------------------- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/task/base/AbstractJob.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/task/base/AbstractJob.java index e7b0963..6e83da1 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/task/base/AbstractJob.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/task/base/AbstractJob.java @@ -1,10 +1,5 @@ package com.dsh.guns.modular.system.util.task.base; -import cn.mb.cloud.common.core.util.SpringContextHolder; -import com.dsh.guns.modular.system.service.ITDriverService; -import com.dsh.guns.modular.system.service.ITNoticesService; -import com.dsh.guns.modular.system.service.ITSystemNoticeService; -import com.dsh.guns.modular.system.service.ITUserService; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; @@ -17,20 +12,6 @@ @Override public abstract void execute(JobExecutionContext context) throws JobExecutionException; - protected ITUserService tUserService; //用户 - protected ITNoticesService tNoticesService; //公告 - protected ITSystemNoticeService tSystemNoticeService; //公告记录 - protected ITDriverService tDriverService; //司机 - public AbstractJob(){ - //this.exhibitionService = SpringContextsUtil.getBean("exhibitionService", IExhibitionService.class); - this.tUserService = SpringContextHolder.getBean( ITUserService.class); - this.tNoticesService = SpringContextHolder.getBean( ITNoticesService.class); - this.tSystemNoticeService = SpringContextHolder.getBean( ITSystemNoticeService.class); - this.tDriverService = SpringContextHolder.getBean( ITDriverService.class); - - - } - } -- Gitblit v1.7.1