|
@@ -9,7 +9,6 @@ import lombok.Data;
|
|
|
import lombok.experimental.Accessors;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
-import javax.validation.constraints.NotEmpty;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDate;
|
|
@@ -376,11 +375,11 @@ public class DeviceDataDto {
|
|
|
@ApiModelProperty(value = "统计类型;year|month|day")
|
|
|
private String type;
|
|
|
|
|
|
- @NotBlank(message = "beginDateValue不能为空")
|
|
|
+ @NotNull(message = "beginDateValue不能为空")
|
|
|
@ApiModelProperty(value = "统计开始日期")
|
|
|
private Integer beginDateValue;
|
|
|
|
|
|
- @NotBlank(message = "beginDateValue不能为空")
|
|
|
+ @NotNull(message = "beginDateValue不能为空")
|
|
|
@ApiModelProperty(value = "统计结束日期")
|
|
|
private Integer endDateValue;
|
|
|
|