From 288acd66620cbe3a499c957ef8a08fd70897356c Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Wed, 20 Nov 2019 17:26:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=A1=E9=AA=8C=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E6=9C=80=E5=B0=8F=E3=80=81=E6=9C=80=E5=A4=A7=E5=80=BC?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cm/common/annotation/CheckNumberAnnotation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }