Commit 2b1535bc9fb65f3d96b35b7855b8ab88124eaeb6

Authored by liquanyu
1 parent 8b62efee04

营养管理添加到快速测量

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ 2b1535b
... ... @@ -395,7 +395,7 @@
395 395 }
396 396 map.put("yunqi", yunqi);
397 397 }
398   - map.put("height", MathUtil.doubleFormat(Double.parseDouble(patientWeight.getBeforeHeight())/100) + " 米");
  398 + map.put("height", patientWeight.getBeforeHeight() == null ? "" : MathUtil.doubleFormat(Double.parseDouble(patientWeight.getBeforeHeight())/100) + " 米");
399 399 map.put("beforeWeight", patientWeight.getBeforeWeight() + " 公斤");
400 400 map.put("bmi", patientWeight.getBmi());
401 401 map.put("nowWeight", patientWeight.getNowWeight() + " 公斤");