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-api/src/main/java/com/iailab/module/data/api/plan/PlanItemApi.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 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 35bfb3c..b54bd3b 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,14 +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.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.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; +import java.util.LinkedHashMap; import java.util.List; /** @@ -25,4 +30,16 @@ @PostMapping(PREFIX + "/query-plan/history-value") @Operation(summary = "查询计划历史值") List<ApiDataValueDTO> queryPlanItemHistoryValue(@RequestBody ApiDataQueryDTO dto); + + @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 = "根据测点编号查询测点信息") + ApiPlanItemDTO getInfoById(@PathVariable("id") String id); } \ No newline at end of file -- Gitblit v1.9.3