提交 | 用户 | 时间
|
ed4f78
|
1 |
package com.iailab.module.data.api.plan; |
潘 |
2 |
|
a3a072
|
3 |
import com.iailab.module.data.api.plan.dto.ApiPlanDataDTO; |
ed4f78
|
4 |
import com.iailab.module.data.common.ApiDataQueryDTO; |
潘 |
5 |
import com.iailab.module.data.common.ApiDataValueDTO; |
|
6 |
import com.iailab.module.data.enums.ApiConstants; |
|
7 |
import io.swagger.v3.oas.annotations.Operation; |
|
8 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
9 |
import org.springframework.cloud.openfeign.FeignClient; |
|
10 |
import org.springframework.web.bind.annotation.PostMapping; |
|
11 |
import org.springframework.web.bind.annotation.RequestBody; |
|
12 |
|
a3a072
|
13 |
import java.util.LinkedHashMap; |
ed4f78
|
14 |
import java.util.List; |
潘 |
15 |
|
|
16 |
/** |
|
17 |
* @author PanZhibao |
|
18 |
* @Description |
|
19 |
* @createTime 2024年11月03日 |
|
20 |
*/ |
|
21 |
@FeignClient(name = ApiConstants.NAME) |
|
22 |
@Tag(name = "计划数据") |
|
23 |
public interface PlanItemApi { |
|
24 |
|
|
25 |
String PREFIX = ApiConstants.PREFIX + "/plan-item"; |
|
26 |
|
|
27 |
@PostMapping(PREFIX + "/query-plan/history-value") |
|
28 |
@Operation(summary = "查询计划历史值") |
|
29 |
List<ApiDataValueDTO> queryPlanItemHistoryValue(@RequestBody ApiDataQueryDTO dto); |
a3a072
|
30 |
|
潘 |
31 |
@PostMapping(PREFIX + "/query-plans/record-value") |
|
32 |
@Operation(summary = "查询计划记录") |
|
33 |
LinkedHashMap<String, List<ApiPlanDataDTO>> queryPlanItemRecordValue(@RequestBody ApiDataQueryDTO dto); |
ed4f78
|
34 |
} |