!12 【BUG】项目启动后配置的定时器任务无法正常启动
Merge pull request !12 from linCodeTest/quartz_bug
This commit is contained in:
commit
2df675bb01
|
@ -36,7 +36,7 @@ public abstract class AbstractQuartzJob implements Job
|
||||||
public void execute(JobExecutionContext context) throws JobExecutionException
|
public void execute(JobExecutionContext context) throws JobExecutionException
|
||||||
{
|
{
|
||||||
SysJob sysJob = new SysJob();
|
SysJob sysJob = new SysJob();
|
||||||
BeanUtil.copyProperties(sysJob, context.getMergedJobDataMap().get(ScheduleConstants.TASK_PROPERTIES));
|
BeanUtil.copyProperties(context.getMergedJobDataMap().get(ScheduleConstants.TASK_PROPERTIES),sysJob);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
before(context, sysJob);
|
before(context, sysJob);
|
||||||
|
|
Loading…
Reference in New Issue