From 161f558d30e64d40fe7552da16b4141859aa467e Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期日, 15 十二月 2024 14:34:24 +0800
Subject: [PATCH] recordStatusList

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointCollectStatusService.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointCollectStatusService.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointCollectStatusService.java
index fa07645..d48270d 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointCollectStatusService.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/service/DaPointCollectStatusService.java
@@ -1,10 +1,12 @@
 package com.iailab.module.data.point.service;
 
 import com.iailab.framework.common.service.BaseService;
+import com.iailab.module.data.influxdb.pojo.InfluxPointValuePOJO;
 import com.iailab.module.data.point.entity.DaPointCollectStatusEntity;
 import org.springframework.scheduling.annotation.Async;
 
 import java.util.Date;
+import java.util.List;
 
 /**
  * @author PanZhibao
@@ -14,5 +16,9 @@
 public interface DaPointCollectStatusService extends BaseService<DaPointCollectStatusEntity> {
 
     @Async
-    void recordStatus(String pointId, String collectValue, Date collectTime);
+    void recordStatus(String pointNo, String collectValue, Date collectTime);
+
+    @Async
+    void recordStatusList(List<InfluxPointValuePOJO> pointValues, Date collectTime);
+
 }
\ No newline at end of file

--
Gitblit v1.9.3