1.暂降事件归集功能调整
This commit is contained in:
@@ -65,7 +65,7 @@ public class LineParam {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(name = "devCapacity",value = "设备容量",required = true)
|
@ApiModelProperty(name = "devCapacity",value = "设备容量",required = true)
|
||||||
@NotNull(message = "设备容量不可为空")
|
@NotNull(message = "设备容量不可为空")
|
||||||
@Pattern(regexp=PatternRegex.POSITIVEALL_NUM,message = "设备容量格式有误")
|
@Min(value=0,message = "设备容量格式有误")
|
||||||
private Float devCapacity;
|
private Float devCapacity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -73,7 +73,7 @@ public class LineParam {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(name = "shortCapacity",value = "短路容量",required = true)
|
@ApiModelProperty(name = "shortCapacity",value = "短路容量",required = true)
|
||||||
@NotNull(message = "短路容量不可为空")
|
@NotNull(message = "短路容量不可为空")
|
||||||
@Pattern(regexp=PatternRegex.POSITIVEALL_NUM,message = "短路容量格式有误")
|
@Min(value=0,message = "设备容量格式有误")
|
||||||
private Float shortCapacity;
|
private Float shortCapacity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -81,7 +81,7 @@ public class LineParam {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(name = "dealCapacity",value = "协议容量",required = true)
|
@ApiModelProperty(name = "dealCapacity",value = "协议容量",required = true)
|
||||||
@NotNull(message = "协议容量不可为空")
|
@NotNull(message = "协议容量不可为空")
|
||||||
@Pattern(regexp=PatternRegex.POSITIVEALL_NUM,message = "协议容量格式有误")
|
@Min(value=0,message = "设备容量格式有误")
|
||||||
private Float dealCapacity;
|
private Float dealCapacity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -89,7 +89,7 @@ public class LineParam {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(name = "standardCapacity",value = "基准容量新增时候可为空",required = true)
|
@ApiModelProperty(name = "standardCapacity",value = "基准容量新增时候可为空",required = true)
|
||||||
@NotNull(message = "基准容量不可为空")
|
@NotNull(message = "基准容量不可为空")
|
||||||
@Pattern(regexp=PatternRegex.POSITIVEALL_NUM,message = "基准容量格式有误")
|
@Min(value=0,message = "设备容量格式有误")
|
||||||
private Float standardCapacity;
|
private Float standardCapacity;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user