From 6c2ff1c7c8e0aba3af92110b76687b78f8278e86 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 03 一月 2025 09:57:37 +0800
Subject: [PATCH] 动态数据长度

---
 iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java
index a4244f6..98ab9d3 100644
--- a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java
+++ b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java
@@ -7,9 +7,9 @@
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.*;
 
-import javax.annotation.security.PermitAll;
 import java.util.List;
 import java.util.Map;
+import java.util.Set;
 
 /**
  * @author PanZhibao
@@ -30,6 +30,10 @@
     @Operation(summary = "根据测点ID查询测点信息")
     ApiPointDTO getInfoById(@PathVariable("pointId") String pointId);
 
+    @PostMapping(PREFIX + "/info/ids")
+    @Operation(summary = "根据多个测点ID查询测点信息")
+    List<ApiPointDTO> getInfoByIds(@RequestParam("pointNos") Set<String> pointIds);
+
     @PostMapping(PREFIX + "/query-points/real-value")
     @Operation(summary = "查询多个测点当前值")
     Map<String, Object> queryPointsRealValue(@RequestParam("pointNos") List<String> pointNos);

--
Gitblit v1.9.3