package com.xjgs.service; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; public class HisJob implements Job { @Override public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { HisService hisService = new HisService(); hisService.hisInfo(); } }