谐波畸变率任务配置
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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:oracle,1:influxdb 2:mysql)")
|
||||
@NotNull(message = "数据源不可为空")
|
||||
private Integer dataSource;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user