|
@@ -744,7 +744,7 @@ public class TaskService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 0/20 * * * ? ")
|
|
|
+ //@Scheduled(cron = "0 0/20 * * * ? ")
|
|
|
public void thirdNucleicAcid() {
|
|
|
String startTime = redisService.getCacheObject("startTime");
|
|
|
if (StringUtils.isEmpty(startTime)) {
|
|
@@ -763,7 +763,7 @@ public class TaskService {
|
|
|
/***
|
|
|
* 核酸补充数据定时任务(每天3点执行)
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 3 * * ? ")
|
|
|
+ //@Scheduled(cron = "0 0 3 * * ? ")
|
|
|
public void supplement() {
|
|
|
//获取当前时间
|
|
|
Date data = DateUtils.getNowDate();
|
|
@@ -953,7 +953,7 @@ public class TaskService {
|
|
|
/***
|
|
|
* 核酸统计(每一个小时跑一次)
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0 * * * ? ")
|
|
|
+ //@Scheduled(cron = "0 0 * * * ? ")
|
|
|
public void nucleicAcidStatistics() {
|
|
|
|
|
|
System.out.println("batchInsert 核酸统计开始开始========");
|
|
@@ -1202,7 +1202,7 @@ public class TaskService {
|
|
|
* 来宜数据匹配(每个小时的35分开始跑数据)
|
|
|
*/
|
|
|
@SneakyThrows
|
|
|
- @Scheduled(cron = "0 35 * * * ? ")
|
|
|
+ //@Scheduled(cron = "0 35 * * * ? ")
|
|
|
public void toQianshanData() {
|
|
|
System.out.println("batchInsert 来宜人员插入开始========");
|
|
|
long start = System.currentTimeMillis();
|