From 730d1944e3a13c517c77df2b0712df05645a38dd Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 06 一月 2025 16:00:58 +0800
Subject: [PATCH] chartParamList api

---
 iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/plan/PlanItemApi.java |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/plan/PlanItemApi.java b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/plan/PlanItemApi.java
index a5f8c9b..1d42428 100644
--- a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/plan/PlanItemApi.java
+++ b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/plan/PlanItemApi.java
@@ -1,17 +1,19 @@
 package com.iailab.module.data.api.plan;
 
 import com.iailab.module.data.api.plan.dto.ApiPlanDataDTO;
+import com.iailab.module.data.api.plan.dto.ApiPlanItemDTO;
+import com.iailab.module.data.api.point.dto.ApiPointDTO;
 import com.iailab.module.data.common.ApiDataQueryDTO;
 import com.iailab.module.data.common.ApiDataValueDTO;
 import com.iailab.module.data.enums.ApiConstants;
 import io.swagger.v3.oas.annotations.Operation;
 import io.swagger.v3.oas.annotations.tags.Tag;
 import org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.*;
 
 import java.util.LinkedHashMap;
 import java.util.List;
+import java.util.Set;
 
 /**
  * @author PanZhibao
@@ -31,4 +33,16 @@
     @PostMapping(PREFIX + "/query-plans/record-value")
     @Operation(summary = "查询计划记录")
     LinkedHashMap<String, List<ApiPlanDataDTO>> queryPlanItemRecordValue(@RequestBody ApiDataQueryDTO dto);
+
+    @GetMapping(PREFIX + "/info/no/{itemNo}")
+    @Operation(summary = "根据编号查询计划数据信息")
+    ApiPlanItemDTO getInfoByNo(@PathVariable("itemNo") String itemNo);
+
+    @GetMapping(PREFIX + "/info/id/{id}")
+    @Operation(summary = "根据id查询计划数据信息")
+    ApiPlanItemDTO getInfoById(@PathVariable("id") String id);
+
+    @PostMapping(PREFIX + "/info/ids")
+    @Operation(summary = "根据多个id查询计划数据信息")
+    List<ApiPlanItemDTO> getInfoByIds(@RequestParam("planIds") Set<String> planIds);
 }
\ No newline at end of file

--
Gitblit v1.9.3