|
@@ -15,6 +15,7 @@ import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
+import java.util.regex.Matcher;
|
|
import java.util.regex.Pattern;
|
|
import java.util.regex.Pattern;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
@@ -67,6 +68,20 @@ public class BEH0376 extends QCCatalogue {
|
|
status.set("0");
|
|
status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if(maritalText.length()>0){
|
|
|
|
+ String str=maritalText;
|
|
|
|
+ String s= "\\d+-\\d+-\\d+-\\d+";
|
|
|
|
+ Pattern pattern=Pattern.compile(s);
|
|
|
|
+ Matcher ma=pattern.matcher(str);
|
|
|
|
+ while(ma.find()){
|
|
|
|
+ String childrenText =str.substring(str.indexOf(ma.group()),str.length()-1);
|
|
|
|
+ if(childrenText.contains("健康")||childrenText.contains("状况")){
|
|
|
|
+ status.set("0");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
//未婚 无子女
|
|
//未婚 无子女
|
|
if (maritalLabel.getMaritalStatus() != null && maritalLabel.getMaritalStatus().getName().contains("未婚")) {
|
|
if (maritalLabel.getMaritalStatus() != null && maritalLabel.getMaritalStatus().getName().contains("未婚")) {
|
|
@@ -103,6 +118,7 @@ public class BEH0376 extends QCCatalogue {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|