style: 替换项目内所有ruoyi转为wfc
This commit is contained in:
@@ -8,7 +8,7 @@ import org.wfc.common.security.annotation.EnableRyFeignClients;
|
||||
/**
|
||||
* 定时任务
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@EnableCustomConfig
|
||||
@EnableRyFeignClients
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
///**
|
||||
// * 定时任务配置(单机部署建议删除此类和qrtz数据库表,默认走内存会最高效)
|
||||
// *
|
||||
// * @author ruoyi
|
||||
// * @author wfc
|
||||
// */
|
||||
//@Configuration
|
||||
//public class ScheduleConfig
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
// // quartz参数
|
||||
// Properties prop = new Properties();
|
||||
// prop.put("org.quartz.scheduler.instanceName", "RuoyiScheduler");
|
||||
// prop.put("org.quartz.scheduler.instanceName", "wfcScheduler");
|
||||
// prop.put("org.quartz.scheduler.instanceId", "AUTO");
|
||||
// // 线程池配置
|
||||
// prop.put("org.quartz.threadPool.class", "org.quartz.simpl.SimpleThreadPool");
|
||||
@@ -42,7 +42,7 @@
|
||||
// prop.put("org.quartz.jobStore.tablePrefix", "QRTZ_");
|
||||
// factory.setQuartzProperties(prop);
|
||||
//
|
||||
// factory.setSchedulerName("RuoyiScheduler");
|
||||
// factory.setSchedulerName("wfcScheduler");
|
||||
// // 延时启动
|
||||
// factory.setStartupDelay(1);
|
||||
// factory.setApplicationContextSchedulerContextKey("applicationContextKey");
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.wfc.job.util.ScheduleUtils;
|
||||
/**
|
||||
* 调度任务信息操作处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/job")
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.wfc.job.service.ISysJobLogService;
|
||||
/**
|
||||
* 调度日志操作处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/job/log")
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.wfc.job.util.CronUtils;
|
||||
/**
|
||||
* 定时任务调度表 sys_job
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public class SysJob extends BaseEntity
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.wfc.common.core.web.domain.BaseEntity;
|
||||
/**
|
||||
* 定时任务调度日志表 sys_job_log
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public class SysJobLog extends BaseEntity
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.wfc.job.domain.SysJobLog;
|
||||
/**
|
||||
* 调度任务日志信息 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public interface SysJobLogMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.wfc.job.domain.SysJob;
|
||||
/**
|
||||
* 调度任务信息 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public interface SysJobMapper
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.wfc.job.domain.SysJobLog;
|
||||
/**
|
||||
* 定时任务调度日志信息信息 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public interface ISysJobLogService
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.wfc.job.domain.SysJob;
|
||||
/**
|
||||
* 定时任务调度信息信息 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public interface ISysJobService
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.wfc.job.mapper.SysJobLogMapper;
|
||||
/**
|
||||
* 定时任务调度日志信息 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Service
|
||||
public class SysJobLogServiceImpl implements ISysJobLogService
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.wfc.job.util.ScheduleUtils;
|
||||
/**
|
||||
* 定时任务调度信息 服务层
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Service
|
||||
public class SysJobServiceImpl implements ISysJobService
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.wfc.common.core.utils.StringUtils;
|
||||
/**
|
||||
* 定时任务调度测试
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
@Component("ryTask")
|
||||
public class RyTask
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.wfc.job.service.ISysJobLogService;
|
||||
/**
|
||||
* 抽象quartz调用
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public abstract class AbstractQuartzJob implements Job
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.quartz.CronExpression;
|
||||
/**
|
||||
* cron表达式工具类
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*
|
||||
*/
|
||||
public class CronUtils
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.wfc.job.domain.SysJob;
|
||||
/**
|
||||
* 任务执行工具
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*/
|
||||
public class JobInvokeUtil
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.wfc.job.domain.SysJob;
|
||||
/**
|
||||
* 定时任务处理(禁止并发执行)
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*
|
||||
*/
|
||||
@DisallowConcurrentExecution
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.wfc.job.domain.SysJob;
|
||||
/**
|
||||
* 定时任务处理(允许并发执行)
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*
|
||||
*/
|
||||
public class QuartzJobExecution extends AbstractQuartzJob
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.wfc.job.domain.SysJob;
|
||||
/**
|
||||
* 定时任务工具类
|
||||
*
|
||||
* @author ruoyi
|
||||
* @author wfc
|
||||
*
|
||||
*/
|
||||
public class ScheduleUtils
|
||||
|
||||
Reference in New Issue
Block a user