|
@@ -40,7 +40,7 @@ public class PDFUtils {
|
|
|
txt=txt.substring(0,i);
|
|
|
}
|
|
|
}
|
|
|
- if (txt.length() >= 15 && Func.isNumeric(txt)) {
|
|
|
+ if (txt.length() >= 15 && Func.isNumeric(txt)||(Func.isNumeric(txt)&&txt.length()==8&&txt.startsWith("123"))) {
|
|
|
eVisaConfigList.add(txt);
|
|
|
}
|
|
|
|
|
@@ -53,7 +53,7 @@ public class PDFUtils {
|
|
|
// 特殊处理
|
|
|
if(textStr.indexOf("1")>=0){
|
|
|
String txt = textStr.substring(textStr.indexOf("1"));
|
|
|
- if (txt.length() >= 15 && Func.isNumeric(txt)) {
|
|
|
+ if (txt.length() >= 15 && Func.isNumeric(txt)||(Func.isNumeric(txt)&&txt.length()==8&&txt.startsWith("123"))) {
|
|
|
System.out.println(txt);
|
|
|
eVisaConfigList.add(txt);
|
|
|
}
|
|
@@ -125,4 +125,4 @@ public class PDFUtils {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
+}
|