修改框架

This commit is contained in:
2026-04-22 15:25:22 +08:00
parent 611cad2672
commit 1a6be585ff
291 changed files with 1010 additions and 815 deletions
@@ -9,7 +9,7 @@
///**
// * 定时任务配置(单机部署建议删除此类和qrtz数据库表,默认走内存会最高效)
// *
// * @author ruoyi
// * quoted
// */
//@Configuration
//public class ScheduleConfig
@@ -30,7 +30,7 @@ import com.quoted.quartz.util.ScheduleUtils;
/**
* 调度任务信息操作处理
*
* @author ruoyi
* quoted
*/
@RestController
@RequestMapping("/monitor/job")
@@ -22,7 +22,7 @@ import com.quoted.quartz.service.ISysJobLogService;
/**
* 调度日志操作处理
*
* @author ruoyi
* quoted
*/
@RestController
@RequestMapping("/monitor/jobLog")
@@ -16,7 +16,7 @@ import com.quoted.quartz.util.CronUtils;
/**
* 定时任务调度表 sys_job
*
* @author ruoyi
* quoted
*/
public class SysJob extends BaseEntity
{
@@ -10,7 +10,7 @@ import com.quoted.common.core.domain.BaseEntity;
/**
* 定时任务调度日志表 sys_job_log
*
* @author ruoyi
* quoted
*/
public class SysJobLog extends BaseEntity
{
@@ -6,7 +6,7 @@ import com.quoted.quartz.domain.SysJobLog;
/**
* 调度任务日志信息 数据层
*
* @author ruoyi
* quoted
*/
public interface SysJobLogMapper
{
@@ -6,7 +6,7 @@ import com.quoted.quartz.domain.SysJob;
/**
* 调度任务信息 数据层
*
* @author ruoyi
* quoted
*/
public interface SysJobMapper
{
@@ -6,7 +6,7 @@ import com.quoted.quartz.domain.SysJobLog;
/**
* 定时任务调度日志信息信息 服务层
*
* @author ruoyi
* quoted
*/
public interface ISysJobLogService
{
@@ -8,7 +8,7 @@ import com.quoted.quartz.domain.SysJob;
/**
* 定时任务调度信息信息 服务层
*
* @author ruoyi
* quoted
*/
public interface ISysJobService
{
@@ -10,7 +10,7 @@ import com.quoted.quartz.service.ISysJobLogService;
/**
* 定时任务调度日志信息 服务层
*
* @author ruoyi
* quoted
*/
@Service
public class SysJobLogServiceImpl implements ISysJobLogService
@@ -20,7 +20,7 @@ import com.quoted.quartz.util.ScheduleUtils;
/**
* 定时任务调度信息 服务层
*
* @author ruoyi
* quoted
*/
@Service
public class SysJobServiceImpl implements ISysJobService
@@ -6,7 +6,7 @@ import com.quoted.common.utils.StringUtils;
/**
* 定时任务调度测试
*
* @author ruoyi
* quoted
*/
@Component("ryTask")
public class RyTask
@@ -18,7 +18,7 @@ import com.quoted.quartz.service.ISysJobLogService;
/**
* 抽象quartz调用
*
* @author ruoyi
* quoted
*/
public abstract class AbstractQuartzJob implements Job
{
@@ -7,7 +7,7 @@ import org.quartz.CronExpression;
/**
* cron表达式工具类
*
* @author ruoyi
* quoted
*
*/
public class CronUtils
@@ -11,7 +11,7 @@ import com.quoted.quartz.domain.SysJob;
/**
* 任务执行工具
*
* @author ruoyi
* quoted
*/
public class JobInvokeUtil
{
@@ -7,7 +7,7 @@ import com.quoted.quartz.domain.SysJob;
/**
* 定时任务处理(禁止并发执行)
*
* @author ruoyi
* quoted
*
*/
@DisallowConcurrentExecution
@@ -6,7 +6,7 @@ import com.quoted.quartz.domain.SysJob;
/**
* 定时任务处理(允许并发执行)
*
* @author ruoyi
* quoted
*
*/
public class QuartzJobExecution extends AbstractQuartzJob
@@ -21,7 +21,7 @@ import com.quoted.quartz.domain.SysJob;
/**
* 定时任务工具类
*
* @author ruoyi
* quoted
*
*/
public class ScheduleUtils
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.quartz.mapper.SysJobLogMapper">
<mapper namespace="com.quoted.quartz.mapper.SysJobLogMapper">
<resultMap type="SysJobLog" id="SysJobLogResult">
<id property="jobLogId" column="job_log_id" />
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.quartz.mapper.SysJobMapper">
<mapper namespace="com.quoted.quartz.mapper.SysJobMapper">
<resultMap type="SysJob" id="SysJobResult">
<id property="jobId" column="job_id" />