小数
This commit is contained in:
+3
-2
@@ -17,6 +17,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.DecimalMax;
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@@ -118,7 +119,7 @@ public class TbMemberProjectSubitem implements Serializable {
|
||||
@Excel(name = "应收金额", width = 15)
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
@NotNull(message = "应收金额不能为空")
|
||||
@Max(value = 999999999, message = "应收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99", message = "应收金额格式错误")
|
||||
private BigDecimal amountReceivable;
|
||||
|
||||
/**
|
||||
@@ -126,7 +127,7 @@ public class TbMemberProjectSubitem implements Serializable {
|
||||
*/
|
||||
@Excel(name = "实收金额", width = 15)
|
||||
@ApiModelProperty(value = "实收金额")
|
||||
@Max(value = 999999999, message = "实收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99", message = "实收金额格式错误")
|
||||
private BigDecimal paidAmount;
|
||||
|
||||
/**打包*/
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ public class PayMemberProjectSubitemExcel {
|
||||
@Excel(name = "应收金额", width = 15,orderNum = "4")
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
@NotNull(message = "应收金额不能为空")
|
||||
@Max(value = 999999999, message = "应收金额格式错误")
|
||||
@DecimalMax(value = "9999999999.99", message = "应收金额格式错误")
|
||||
private String amountReceivable;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user