update 标记过期 推荐迁移至新框架 xxl-job

This commit is contained in:
疯狂的狮子li 2021-10-15 11:31:26 +08:00
parent 1419700c43
commit 6684812014
22 changed files with 31 additions and 9 deletions

View File

@ -234,7 +234,7 @@
<version>${tlog.version}</version> <version>${tlog.version}</version>
</dependency> </dependency>
<!-- 定时任务--> <!-- 定时任务 @deprecated 3.5.0删除 迁移至xxl-job -->
<dependency> <dependency>
<groupId>com.ruoyi</groupId> <groupId>com.ruoyi</groupId>
<artifactId>ruoyi-quartz</artifactId> <artifactId>ruoyi-quartz</artifactId>

View File

@ -41,7 +41,7 @@
<artifactId>ruoyi-system</artifactId> <artifactId>ruoyi-system</artifactId>
</dependency> </dependency>
<!-- 定时任务--> <!-- 定时任务 @deprecated 3.5.0删除 迁移至xxl-job -->
<dependency> <dependency>
<groupId>com.ruoyi</groupId> <groupId>com.ruoyi</groupId>
<artifactId>ruoyi-quartz</artifactId> <artifactId>ruoyi-quartz</artifactId>

View File

@ -2,7 +2,8 @@ package com.ruoyi.common.constant;
/** /**
* 任务调度通用常量 * 任务调度通用常量
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public class ScheduleConstants public class ScheduleConstants

View File

@ -2,7 +2,8 @@ package com.ruoyi.common.exception.job;
/** /**
* 计划策略异常 * 计划策略异常
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public class TaskException extends Exception public class TaskException extends Exception

View File

@ -5,8 +5,10 @@ import org.springframework.context.annotation.Configuration;
/** /**
* 定时任务配置 * 定时任务配置
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author Lion Li * @author Lion Li
*/ */
@Deprecated
@Configuration @Configuration
public class ScheduleConfig { public class ScheduleConfig {

View File

@ -23,6 +23,7 @@ import java.util.List;
/** /**
* 调度任务信息操作处理 * 调度任务信息操作处理
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
@RestController @RestController

View File

@ -18,6 +18,7 @@ import java.util.List;
/** /**
* 调度日志操作处理 * 调度日志操作处理
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
@RestController @RestController

View File

@ -23,6 +23,7 @@ import java.util.Map;
/** /**
* 定时任务调度表 sys_job * 定时任务调度表 sys_job
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */

View File

@ -16,6 +16,7 @@ import java.util.Map;
/** /**
* 定时任务调度日志表 sys_job_log * 定时任务调度日志表 sys_job_log
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */

View File

@ -6,6 +6,7 @@ import com.ruoyi.quartz.domain.SysJobLog;
/** /**
* 调度任务日志信息 数据层 * 调度任务日志信息 数据层
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public interface SysJobLogMapper extends BaseMapperPlus<SysJobLog> { public interface SysJobLogMapper extends BaseMapperPlus<SysJobLog> {

View File

@ -6,6 +6,7 @@ import com.ruoyi.quartz.domain.SysJob;
/** /**
* 调度任务信息 数据层 * 调度任务信息 数据层
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public interface SysJobMapper extends BaseMapperPlus<SysJob> { public interface SysJobMapper extends BaseMapperPlus<SysJob> {

View File

@ -9,6 +9,7 @@ import java.util.List;
/** /**
* 定时任务调度日志信息信息 服务层 * 定时任务调度日志信息信息 服务层
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public interface ISysJobLogService extends IService<SysJobLog> { public interface ISysJobLogService extends IService<SysJobLog> {

View File

@ -11,6 +11,7 @@ import java.util.List;
/** /**
* 定时任务调度信息信息 服务层 * 定时任务调度信息信息 服务层
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public interface ISysJobService extends IService<SysJob> { public interface ISysJobService extends IService<SysJob> {

View File

@ -17,6 +17,7 @@ import java.util.Map;
/** /**
* 定时任务调度日志信息 服务层 * 定时任务调度日志信息 服务层
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
@Service @Service

View File

@ -26,6 +26,7 @@ import java.util.List;
/** /**
* 定时任务调度信息 服务层 * 定时任务调度信息 服务层
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
@Service @Service

View File

@ -7,6 +7,7 @@ import org.springframework.stereotype.Component;
/** /**
* 定时任务调度测试 * 定时任务调度测试
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
@Component("ryTask") @Component("ryTask")

View File

@ -20,6 +20,7 @@ import java.util.Date;
/** /**
* 抽象quartz调用 * 抽象quartz调用
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public abstract class AbstractQuartzJob implements Job public abstract class AbstractQuartzJob implements Job

View File

@ -1,12 +1,14 @@
package com.ruoyi.quartz.util; package com.ruoyi.quartz.util;
import org.quartz.CronExpression;
import java.text.ParseException; import java.text.ParseException;
import java.util.Date; import java.util.Date;
import org.quartz.CronExpression;
/** /**
* cron表达式工具类 * cron表达式工具类
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
* *
*/ */

View File

@ -11,6 +11,7 @@ import com.ruoyi.quartz.domain.SysJob;
/** /**
* 任务执行工具 * 任务执行工具
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
*/ */
public class JobInvokeUtil public class JobInvokeUtil

View File

@ -6,7 +6,8 @@ import com.ruoyi.quartz.domain.SysJob;
/** /**
* 定时任务处理禁止并发执行 * 定时任务处理禁止并发执行
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
* *
*/ */

View File

@ -5,7 +5,8 @@ import com.ruoyi.quartz.domain.SysJob;
/** /**
* 定时任务处理允许并发执行 * 定时任务处理允许并发执行
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
* *
*/ */

View File

@ -17,7 +17,8 @@ import com.ruoyi.quartz.domain.SysJob;
/** /**
* 定时任务工具类 * 定时任务工具类
* *
* @deprecated 3.5.0删除 迁移至xxl-job
* @author ruoyi * @author ruoyi
* *
*/ */