You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
505 B
Java
20 lines
505 B
Java
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());
|
|
}
|
|
}
|
|
}
|