Commit 2d6898d93c947fb77e5b877b7f1cfd249a7d601b
1 parent
a5434dfead
Exists in
master
and in
6 other branches
1
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
2d6898d
... | ... | @@ -1762,7 +1762,9 @@ |
1762 | 1762 | HighScoreResult highScoreResult = findLastRisk(patients.getPid(), true); |
1763 | 1763 | patients1.setRiskScore(highScoreResult.getScore()); |
1764 | 1764 | patients1.setRiskFactorId(highScoreResult.getHighId()); |
1765 | - patients1.setRiskLevelId(JsonUtil.array2JsonString(highScoreResult.getLevelId())); | |
1765 | + | |
1766 | + HashSet set =new HashSet(highScoreResult.getLevelId()); | |
1767 | + patients1.setRiskLevelId(JsonUtil.array2JsonString(new ArrayList<String>(set))); | |
1766 | 1768 | //设置其他的高危因素 |
1767 | 1769 | patients1.setoRiskFactor(highScoreResult.getOtherRisk()); |
1768 | 1770 | patientsService.findAndModify(patientsQuery1, patients1); |