Commit 2cb35d283005179a519d285d29da12cb2d6a958f

Authored by yangfei
1 parent ba9db040cb

自定义高危查询结果

Showing 1 changed file with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/HosptialHighRiskFacade.java View file @ 2cb35d2
... ... @@ -43,7 +43,7 @@
43 43 private static Map<String, String> scoreMap = new HashMap<>();
44 44  
45 45 static {
46   - scoreMap.put("5769eef90cf22c3157577422", "5");
  46 + scoreMap.put("5769f0640cf2d37f034793a2", "5");
47 47 scoreMap.put("5769f0640cf2d37f034793a3", "10");
48 48 scoreMap.put("5769f0650cf2d37f034793a4", "15");
49 49 scoreMap.put("5769f0650cf2d37f034793a5", "20");
... ... @@ -110,6 +110,8 @@
110 110 hr.setColorName(colorMap.get(hr.getColor()));
111 111 if(scoreMap.containsKey(hr.getCode())){
112 112 hr.setScore(Integer.parseInt(scoreMap.get(hr.getCode())));
  113 + }else{
  114 + System.out.println("未找到对应的分数:"+hr.getCode());
113 115 }
114 116 }
115 117 baseResponse.setObject(hosptialHighRisks);