|
@ -13,6 +13,7 @@ import org.quartz.Job;
|
|
|
import org.quartz.JobExecutionContext;
|
|
|
import org.quartz.JobExecutionException;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.context.annotation.Scope;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@ -31,7 +32,7 @@ import java.util.Map;
|
|
|
public class SixteenSpecialistJob implements Job {
|
|
|
public static String jobKey = "Specialist_Rehabilitation_16_JOB";
|
|
|
public static String jobCron = "0 0 16 * * ?"; //每天8点,14点,20 点执行一次
|
|
|
@Autowired
|
|
|
@Value("${server.server_url}")
|
|
|
private String serverUrl;
|
|
|
@Autowired
|
|
|
private QuartzJobLogDao dbStorage;
|