谐波畸变率任务配置

This commit is contained in:
zhuxinyu
2023-04-12 11:09:39 +08:00
parent d32fd417f2
commit 20e4c0cd75
8 changed files with 38 additions and 12 deletions

View File

@@ -18,8 +18,7 @@ import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(
value = ServerInfo.PREPARE_BOOT,
path = "/distortion",
fallbackFactory = DistortionRateFeignClientFallbackFactory.class
)
fallbackFactory = DistortionRateFeignClientFallbackFactory.class)
public interface DistortionRateFeignClient {
@PostMapping("/distortionRate")

View File

@@ -22,15 +22,12 @@ public class LineParam {
private Integer lineType;
@ApiModelProperty(name = "type",value = "时间类型1年2季3月4周5日")
@NotNull(message = "时间类型不可为空")
private Integer type;
@ApiModelProperty(name = "dataDate",value = "时间")
@NotBlank(message = "时间不可为空")
private String dataDate;
@ApiModelProperty(name = "dataSource",value = "数据源0:oracle1:influxdb 2:mysql")
@NotNull(message = "数据源不可为空")
private Integer dataSource;
}