From a874b928e16320839315b9abcdf2cece1229a424 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 07 十一月 2024 09:20:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/ind/IndItemApi.java | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/ind/IndItemApi.java b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/ind/IndItemApi.java index b14eba7..f4120fe 100644 --- a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/ind/IndItemApi.java +++ b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/ind/IndItemApi.java @@ -6,8 +6,10 @@ 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.PostMapping; import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestParam; import java.util.List; @@ -17,12 +19,16 @@ * @createTime 2024年08月19日 */ @FeignClient(name = ApiConstants.NAME) -@Tag(name = "指标项服务") +@Tag(name = "指标数据") public interface IndItemApi { String PREFIX = ApiConstants.PREFIX + "/ind-item"; - @PostMapping(PREFIX + "/vlues") - @Operation(summary = "查询指标项") - List<ApiIndItemValueDTO> queryIndItemValues(@RequestBody ApiIndItemQueryDTO dto); + @GetMapping(PREFIX + "/query-ind/default-value") + @Operation(summary = "查询指标默认值") + List<ApiIndItemValueDTO> queryIndItemDefaultValue(@RequestParam String itemNo); + + @PostMapping(PREFIX + "/query-ind/history-value") + @Operation(summary = "查询指标历史值") + List<ApiIndItemValueDTO> queryIndItemHistoryValue(@RequestBody ApiIndItemQueryDTO dto); } \ No newline at end of file -- Gitblit v1.9.3