Commit 8085d483ea7fc012835df5b19331d5e068548e1f
1 parent
3887d8b869
Exists in
master
and in
6 other branches
复诊自己定义高危值为null的情况bug处理
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntenatalExaminationResult.java
View file @
8085d48
... | ... | @@ -407,11 +407,15 @@ |
407 | 407 | Object idObj1 = map.get("fyyse"); |
408 | 408 | if (null != idObj1 && !"null".equals(idObj1.toString()) && !"".equals(idObj1.toString())) { |
409 | 409 | map.put("color", HosptialHighRiskFacade.colorMap.get(idObj1)); |
410 | + }else{ | |
411 | + map.remove("fyyse"); | |
410 | 412 | } |
411 | 413 | //风险评分 |
412 | 414 | Object idObj = map.get("fxpf"); |
413 | 415 | if (null != idObj && !"null".equals(idObj.toString()) && !"".equals(idObj.toString())) { |
414 | 416 | map.put("scoer", HosptialHighRiskFacade.scoreMap.get(idObj)); |
417 | + }else { | |
418 | + map.remove("fxpf"); | |
415 | 419 | } |
416 | 420 | } |
417 | 421 | } |