Commit a80d2f49 authored by yanzg's avatar yanzg

默认日期格式的支持

parent e468e1f8
...@@ -268,6 +268,23 @@ public final class CheckerHelper { ...@@ -268,6 +268,23 @@ public final class CheckerHelper {
return this; return this;
} }
/**
* 数字长度校验
*
* @param paramVal
* @return
*/
public CheckerHelper checkerNumberLength(String paramName, String paramVal, int length) {
if (!isValid()) {
return this;
}
if (StringHelper.isEmpty(paramVal)) {
return this;
}
this.notNumberCheck(paramName, paramVal);
this.checkLength(paramName, paramVal, length, length);
return this;
}
/** /**
* 长度检查 * 长度检查
......
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