问题
判断过长
if (Num.length() != 11 && Num.length() != 13 && Num.length() != 15 && Num.length() != 19 && Num.length() != 20)
简单示例
private Integer str[] = {11,13,15,16,17};
public Result test(String Num){
if (Arrays.asList(str).contains(Num.length())){
return new Result("正确");
}
}