mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 02:50:13 +08:00
17 lines
394 B
Java
17 lines
394 B
Java
|
|
package com.jsowell.quartz.util;
|
|||
|
|
|
|||
|
|
import org.quartz.JobExecutionContext;
|
|||
|
|
import com.jsowell.quartz.domain.SysJob;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 定时任务处理(允许并发执行)
|
|||
|
|
*
|
|||
|
|
* @author jsowell
|
|||
|
|
*/
|
|||
|
|
public class QuartzJobExecution extends AbstractQuartzJob {
|
|||
|
|
@Override
|
|||
|
|
protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception {
|
|||
|
|
JobInvokeUtil.invokeMethod(sysJob);
|
|||
|
|
}
|
|||
|
|
}
|