package com.xjgs.service; import lombok.extern.slf4j.Slf4j; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; @Slf4j public class HisJob implements Job { @Override public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { try { HisService hisService = new HisService(); hisService.hisInfo(); }catch (Exception e){ log.info(e.toString()); } } }