!12 【BUG】项目启动后配置的定时器任务无法正常启动

Merge pull request !12 from linCodeTest/quartz_bug
master
疯狂的狮子li 5 years ago committed by Gitee
commit 2df675bb01

@ -36,7 +36,7 @@ public abstract class AbstractQuartzJob implements Job
public void execute(JobExecutionContext context) throws JobExecutionException
{
SysJob sysJob = new SysJob();
BeanUtil.copyProperties(sysJob, context.getMergedJobDataMap().get(ScheduleConstants.TASK_PROPERTIES));
BeanUtil.copyProperties(context.getMergedJobDataMap().get(ScheduleConstants.TASK_PROPERTIES),sysJob);
try
{
before(context, sysJob);

Loading…
Cancel
Save