From ac15907b5565bb7ee11749414efead3f252d6ec3 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期五, 21 三月 2025 16:56:33 +0800 Subject: [PATCH] point天频率采集 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/job/task/PointCollectTaskNet60.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/job/task/PointCollectTaskNet60.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/job/task/PointCollectTaskNet60.java index ff21b63..0d775a7 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/job/task/PointCollectTaskNet60.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/job/task/PointCollectTaskNet60.java @@ -34,6 +34,7 @@ logger.info("CollectTaskNet60定时任务正在执行,参数为:{}", params); try { Calendar calendar = Calendar.getInstance(); + calendar.set(Calendar.SECOND, 0); calendar.set(Calendar.MILLISECOND, 0); pointCollector.collect(calendar.getTime(), NET); logger.info("PointCollectTaskNet60定时任务完成时间:" + LocalDateTime.now()); -- Gitblit v1.9.3