|
@@ -202,7 +202,9 @@ public class ModelDocGenerate {
|
|
|
structureMap.remove("个人史");
|
|
|
|
|
|
MaritalLabel maritalLabel = new MaritalLabel();
|
|
|
- maritalLabel.setText("婚育史: " + structureMap.get("婚育史"));
|
|
|
+ if (structureMap.get("婚育史") != null) {
|
|
|
+ maritalLabel.setText("婚育史: " + structureMap.get("婚育史"));
|
|
|
+ }
|
|
|
beHospitalizedDoc.setMaritalLabel(maritalLabel);
|
|
|
structureMap.remove("婚育史");
|
|
|
|