|
@@ -32,6 +32,18 @@ public class FIRP0162 extends QCCatalogue {
|
|
}
|
|
}
|
|
String idNumber = firstpageStructureMap.get(Content.idNumber);
|
|
String idNumber = firstpageStructureMap.get(Content.idNumber);
|
|
if (StringUtil.isNotBlank(idNumber)) {
|
|
if (StringUtil.isNotBlank(idNumber)) {
|
|
|
|
+ // 增加判断是否为香港护照号码
|
|
|
|
+ if (idNumber.matches("[A-Za-z]\\d{8}")) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ // 增加判断是否为澳门护照号码
|
|
|
|
+ if (idNumber.matches("\\d{8}")) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ // 增加判断是否为台湾护照号码
|
|
|
|
+ if (idNumber.matches("A\\d{9}")) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
for (String word : containList) {
|
|
for (String word : containList) {
|
|
if (idNumber.equals(word)) {
|
|
if (idNumber.equals(word)) {
|
|
return;
|
|
return;
|