Commit 75853c1304937b2329d88dc90db395a2a768c461
1 parent
3b09a0f73b
Exists in
master
and in
6 other branches
服务同步
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyPageResult.java
View file @
75853c1
... | ... | @@ -561,7 +561,7 @@ |
561 | 561 | |
562 | 562 | setBabyHeight(StringUtils.unitHandle(destModel.getBabyHeight(), UnitConstants.CM)); |
563 | 563 | setBabyHead(StringUtils.unitHandle(destModel.getBabyHead(), UnitConstants.CM)); |
564 | - if (StringUtils.isNotEmpty(destModel.getApgarScore()) && !"{}".equals(destModel.getApgarScore())) | |
564 | + if (StringUtils.isNotEmpty(destModel.getApgarScore()) && !"{}".equals(destModel.getApgarScore())&&!"null".equals(destModel.getApgarScore())) | |
565 | 565 | { |
566 | 566 | Map<String,String> map = JsonUtil.getMap(destModel.getApgarScore()); |
567 | 567 | String as = (map.get("pf1") == null ? "" : map.get("pf1"))+"分 - "+(map.get("pf5") == null ? |