mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-11 16:03:43 +00:00
17 lines
419 B
Java
17 lines
419 B
Java
package com.ruoyi.quartz.util;
|
|
|
|
import org.quartz.JobExecutionContext;
|
|
import com.ruoyi.quartz.domain.SysJob;
|
|
|
|
/**
|
|
* 定时任务处理(允许并发执行)
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
public class QuartzJobExecution extends AbstractQuartzJob {
|
|
@Override
|
|
protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception {
|
|
JobInvokeUtil.invokeMethod(sysJob);
|
|
}
|
|
}
|