Commit a5e90495051f3794df685fd06dd87fab6930a33f
1 parent
ed60550b0e
Exists in
master
and in
6 other branches
12333
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
a5e9049
... | ... | @@ -2240,7 +2240,11 @@ |
2240 | 2240 | Map<String, Object> placetaMap = new HashMap<>(); |
2241 | 2241 | placetaMap.put("fetalPosition", fetalPosition); |
2242 | 2242 | placetaMap.put("fetalPresentation", FetalEnums.getTitle(fetalPresentation)); |
2243 | - placetaMap.put("heartRate", UnitUtils.unitSplice(heartRate, UnitConstants.CIFEN)); | |
2243 | + if(StringUtils.isEmpty(heartRate)) { | |
2244 | + placetaMap.put("heartRate", ""); | |
2245 | + } else { | |
2246 | + placetaMap.put("heartRate", UnitUtils.unitSplice(heartRate, UnitConstants.CIFEN)); | |
2247 | + } | |
2244 | 2248 | placetaList.add(placetaMap); |
2245 | 2249 | } |
2246 | 2250 | } |