Commit 5fd93a8b by s_guodong

update

parent 94c08997
...@@ -70,7 +70,7 @@ public class ValidatorUtil { ...@@ -70,7 +70,7 @@ public class ValidatorUtil {
return "参数校验错误[" + annotation.zsmessage() + "]"; return "参数校验错误[" + annotation.zsmessage() + "]";
} }
} else { } else {
if (bigDecimal.length() > annotation.zsvalue()) { if (annotation.zsvalue() > 0 && bigDecimal.length() > annotation.zsvalue()) {
return "参数校验错误[" + annotation.zsmessage() + "]"; return "参数校验错误[" + annotation.zsmessage() + "]";
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment