提交 | 用户 | 时间
|
9d7e02
|
1 |
package com.iailab.module.data.api.ind; |
潘 |
2 |
|
|
3 |
import com.iailab.module.data.api.ind.dto.ApiIndItemQueryDTO; |
|
4 |
import com.iailab.module.data.api.ind.dto.ApiIndItemValueDTO; |
|
5 |
import com.iailab.module.data.enums.ApiConstants; |
|
6 |
import io.swagger.v3.oas.annotations.Operation; |
|
7 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
8 |
import org.springframework.cloud.openfeign.FeignClient; |
68a075
|
9 |
import org.springframework.web.bind.annotation.GetMapping; |
9d7e02
|
10 |
import org.springframework.web.bind.annotation.PostMapping; |
潘 |
11 |
import org.springframework.web.bind.annotation.RequestBody; |
68a075
|
12 |
import org.springframework.web.bind.annotation.RequestParam; |
9d7e02
|
13 |
|
潘 |
14 |
import java.util.List; |
|
15 |
|
|
16 |
/** |
|
17 |
* @author PanZhibao |
|
18 |
* @Description |
|
19 |
* @createTime 2024年08月19日 |
|
20 |
*/ |
|
21 |
@FeignClient(name = ApiConstants.NAME) |
73ed35
|
22 |
@Tag(name = "指标数据") |
9d7e02
|
23 |
public interface IndItemApi { |
潘 |
24 |
|
|
25 |
String PREFIX = ApiConstants.PREFIX + "/ind-item"; |
|
26 |
|
68a075
|
27 |
@GetMapping(PREFIX + "/query-ind/default-value") |
c0b8cf
|
28 |
@Operation(summary = "查询指标默认值") |
68a075
|
29 |
List<ApiIndItemValueDTO> queryIndItemDefaultValue(@RequestParam String itemNo); |
潘 |
30 |
|
|
31 |
@PostMapping(PREFIX + "/query-ind/history-value") |
c0b8cf
|
32 |
@Operation(summary = "查询指标历史值") |
68a075
|
33 |
List<ApiIndItemValueDTO> queryIndItemHistoryValue(@RequestBody ApiIndItemQueryDTO dto); |
9d7e02
|
34 |
} |