Commit 91e2973ff266b041d5c98d39bb8b23ec86854d27
1 parent
a918947058
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 8 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
91e2973
| ... | ... | @@ -763,6 +763,9 @@ |
| 763 | 763 | BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(idObj.toString()); |
| 764 | 764 | highScoreResult.setScore(highScoreResult.getScore() + NumberUtils.toInt(basicConfig.getName(), 0)); |
| 765 | 765 | } |
| 766 | + | |
| 767 | + map1.put("oRiskId", map.get("fyyse")); | |
| 768 | + | |
| 766 | 769 | if (needLevel) { |
| 767 | 770 | Object idObj1 = map.get("fyyse"); |
| 768 | 771 | if (null != idObj1 && !"null".equals(idObj1.toString()) && !"".equals(idObj1.toString())) { |
| ... | ... | @@ -841,6 +844,9 @@ |
| 841 | 844 | BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(idObj.toString()); |
| 842 | 845 | highScoreResult.setScore(highScoreResult.getScore() + NumberUtils.toInt(basicConfig.getName(), 0)); |
| 843 | 846 | } |
| 847 | + | |
| 848 | + map1.put("oRiskId", map.get("fyyse")); | |
| 849 | + | |
| 844 | 850 | if (needLevel) { |
| 845 | 851 | Object idObj1 = map.get("fyyse"); |
| 846 | 852 | if (null != idObj1 && !"null".equals(idObj1.toString()) && !"".equals(idObj1.toString())) { |
| ... | ... | @@ -1473,6 +1479,8 @@ |
| 1473 | 1479 | |
| 1474 | 1480 | if (idObj == null || "".equals(idObj.toString())) |
| 1475 | 1481 | { |
| 1482 | + risk.put("color",risk.get("oRiskId")); | |
| 1483 | + risk.remove("oRiskId"); | |
| 1476 | 1484 | index = i; |
| 1477 | 1485 | } |
| 1478 | 1486 | } |