Commit 6c68ea62b133578c7b9ea26ab16441e67aa662c6
1 parent
93f45f9a35
Exists in
master
and in
6 other branches
1
Showing 1 changed file with 4 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
6c68ea6
... | ... | @@ -848,8 +848,10 @@ |
848 | 848 | } |
849 | 849 | } |
850 | 850 | heartRate += placenta.get("heartRate") == null ? "" : placenta.get("heartRate"); |
851 | - Integer a = (int)Double.parseDouble(heartRate); | |
852 | - heartRate = String.valueOf(a); | |
851 | + if(StringUtils.isNotEmpty(heartRate)){ | |
852 | + Integer a = (int)Double.parseDouble(heartRate); | |
853 | + heartRate = String.valueOf(a); | |
854 | + } | |
853 | 855 | |
854 | 856 | fetalPresentation += placenta.get("fetalPresentation") == null ? "" : placenta.get("fetalPresentation"); |
855 | 857 | } |