| | |
| | | if(StringUtils.hasLength(sysInspection.getPastMedicalHistory())){ |
| | | fill(templateParam, "pastMedicalHistory", sysInspection.getPastMedicalHistory()); |
| | | } |
| | | // 个人史 |
| | | if(StringUtils.hasLength(sysInspection.getPersonalHistory())){ |
| | | fill(templateParam, "personalHistory", sysInspection.getPersonalHistory()); |
| | | } |
| | | // 月经史 |
| | | if(StringUtils.hasLength(sysInspection.getMenstrualHistory())){ |
| | | fill(templateParam, "menstrualHistory", sysInspection.getMenstrualHistory()); |
| | |
| | | String[] s = info.replacementText.split("\r\n"); |
| | | for (int i = 0; i < s.length; i++) { |
| | | if (i == 0) { |
| | | newRun.setText(s[i]); |
| | | newRun.setText(s[i] + " "); |
| | | }else { |
| | | // newRun.addCarriageReturn(); |
| | | newRun.setText(s[i]); |
| | | newRun.setText(s[i] + " "); |
| | | } |
| | | } |
| | | }else { |