|
@@ -28,9 +28,18 @@ public class BEH0414 extends QCCatalogue {
|
|
|
String contactAddress_bh = structureMap.get("年龄");
|
|
|
String contactAddress_first = firstStructMap.get(Content.age);
|
|
|
if (StringUtil.isNotBlank(contactAddress_bh) && StringUtil.isNotBlank(contactAddress_first)) {
|
|
|
+ contactAddress_bh = removeUnit(contactAddress_bh);
|
|
|
+ contactAddress_first = removeUnit(contactAddress_first);
|
|
|
if (!contactAddress_first.equals(contactAddress_bh)) {
|
|
|
status.set("-1");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ private String removeUnit(String str) {
|
|
|
+ if (str.contains("岁")) {
|
|
|
+ return str.replace("岁", "");
|
|
|
+ }
|
|
|
+ return str;
|
|
|
+ }
|
|
|
}
|