package com.iailab.module.data.api.ind;
|
|
import com.iailab.module.data.api.ind.dto.ApiIndItemQueryDTO;
|
import com.iailab.module.data.api.ind.dto.ApiIndItemValueDTO;
|
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.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import java.util.List;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2024年08月19日
|
*/
|
@FeignClient(name = ApiConstants.NAME)
|
@Tag(name = "指标数据")
|
public interface IndItemApi {
|
|
String PREFIX = ApiConstants.PREFIX + "/ind-item";
|
|
@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);
|
}
|