diff --git a/cloud-common/src/main/java/com/cm/common/annotation/CheckNumberAnnotation.java b/cloud-common/src/main/java/com/cm/common/annotation/CheckNumberAnnotation.java index cde1040..37e96cf 100644 --- a/cloud-common/src/main/java/com/cm/common/annotation/CheckNumberAnnotation.java +++ b/cloud-common/src/main/java/com/cm/common/annotation/CheckNumberAnnotation.java @@ -23,8 +23,8 @@ public @interface CheckNumberAnnotation { String[] types() default {}; - double max() default Double.MAX_VALUE; + double max() default Integer.MAX_VALUE; - double min() default Double.MIN_VALUE; + double min() default Integer.MIN_VALUE; }