潘志宝
2025-03-26 6a673ca73ba8fbb6851cb070db2b92035cbde52a
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/job/task/PointCollectTaskNet60.java
@@ -31,9 +31,10 @@
    @Override
    public void run(String params) {
        // 0 0/1 * * * ?
        logger.debug("CollectTaskNet60定时任务正在执行,参数为:{}", params);
        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());