From 7f0bcd00c556889ba890e5e68c681f1b5d4267e1 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期四, 19 十二月 2024 18:07:20 +0800 Subject: [PATCH] 预测项状态添加模型结果异常 --- iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 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 28e6b4b..6a8c3f5 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,6 +7,7 @@ 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; @@ -29,6 +30,10 @@ @Operation(summary = "根据测点ID查询测点信息") ApiPointDTO getInfoById(@PathVariable("pointId") String pointId); + @PostMapping(PREFIX + "/info/ids") + @Operation(summary = "根据多个测点ID查询测点信息") + List<ApiPointDTO> getInfoByIds(@RequestParam("pointNos") List<String> pointIds); + @PostMapping(PREFIX + "/query-points/real-value") @Operation(summary = "查询多个测点当前值") Map<String, Object> queryPointsRealValue(@RequestParam("pointNos") List<String> pointNos); @@ -37,9 +42,9 @@ @Operation(summary = "查询多个测点历史值") Map<String, List<Map<String, Object>>> queryPointsHistoryValue(@RequestBody ApiPointsValueQueryDTO queryDto); - @GetMapping(PREFIX + "/query-point/history-value") + @PostMapping(PREFIX + "/query-point/history-value") @Operation(summary = "查询单个测点历史值") - List<ApiPointValueDTO> queryPointHistoryValue(@RequestParam ApiPointValueQueryDTO queryDto); + List<ApiPointValueDTO> queryPointHistoryValue(@RequestBody ApiPointValueQueryDTO queryDto); @PutMapping(PREFIX + "/write-point/real-value") @Operation(summary = "写入单个测点值") -- Gitblit v1.9.3