Commit 781ec13b1d00cf80e8fb4e74afc7f26908331256
1 parent
2c03d16708
Exists in
master
and in
6 other branches
大同初诊打印
Showing 1 changed file with 14 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
781ec13
... | ... | @@ -7824,6 +7824,20 @@ |
7824 | 7824 | map.put("pprofessionType", getBasicConfig(patients.getPprofessionTypeId())); |
7825 | 7825 | getRisk(data.getHighrisk(), data.getOtherHighRisk(), map); //处理高危因素+高危评分 |
7826 | 7826 | |
7827 | + String highRisk = ""; | |
7828 | + if (map.get("highRisk") != null) | |
7829 | + { | |
7830 | + List<Map<String, Object>> list = (List)map.get("highRisk"); | |
7831 | + if (CollectionUtils.isNotEmpty(list)) | |
7832 | + { | |
7833 | + for (Map<String, Object> m : list) | |
7834 | + { | |
7835 | + highRisk += String.valueOf(m.get("name")+" "); | |
7836 | + } | |
7837 | + } | |
7838 | + } | |
7839 | + map.put("highRisk", highRisk); | |
7840 | + | |
7827 | 7841 | //map.put("xy", ""); |
7828 | 7842 | map.put("lastMenses", DateUtil.getyyyy_MM_dd(patients.getLastMenses())); |
7829 | 7843 | map.put("dueDate", DateUtil.getyyyy_MM_dd(patients.getDueDate())); |