diff --git a/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java b/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java index f0ca77f..d7066e0 100644 --- a/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java +++ b/src/main/java/com/gunshi/project/xyt/timetask/DataTask.java @@ -131,8 +131,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkYqRealData() { Date now = new Date(); System.out.println("雨情实时定时任务,执行时间:" + sdf.format(now)); @@ -172,8 +172,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkYqHisData() { Date now = new Date(); System.out.println("雨情历史定时任务,执行时间:" + sdf.format(now)); @@ -293,8 +293,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkSqRealData() { Date now = new Date(); System.out.println("水情实时定时任务,执行时间:" + sdf.format(now)); @@ -334,8 +334,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-11, 周四, 14:21:35 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkSqHisData() { Date now = new Date(); System.out.println("水情历史定时任务,执行时间:" + sdf.format(now)); @@ -388,8 +388,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-22, 周一, 13:54:08 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkImgRealData() { Date now = new Date(); System.out.println("图像实时图像定时任务,执行时间:" + sdf.format(now)); @@ -435,8 +435,8 @@ public class DataTask { * @auther: cxw * @date: 2024-07-22, 周一, 13:55:45 */ - @Async - @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) +// @Async +// @Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES) public void getSkImgHisData() { Date now = new Date(); System.out.println("图像历史定时任务,执行时间:" + sdf.format(now));