Commit 5a906424fc2d27f6ca591bb428ab52f9d63f81e6

Authored by jiangjiazhi
1 parent 924620a580

1

Showing 1 changed file with 4 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java View file @ 5a90642
... ... @@ -431,9 +431,10 @@
431 431 fetalPresentation += placenta.getFetalPresentation() == null ? "" : placenta.getFetalPresentation();
432 432 //่ƒŽๅฟƒ็އ
433 433 heartRate += placenta.getHeartRate() == null ? "" : placenta.getHeartRate().toString();
434   -
435   - Integer a = (int)Double.parseDouble(heartRate);
436   - heartRate = String.valueOf(a);
  434 + if(StringUtils.isNotEmpty(heartRate)){
  435 + Integer a = (int)Double.parseDouble(heartRate);
  436 + heartRate = String.valueOf(a);
  437 + }
437 438  
438 439 join = placenta.getJoin();
439 440 }