Commit 37a1328a4de2949fc87d517015b4d92297af9263
1 parent
2b1535bc9f
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/service/impl/PatientWeightServiceImpl.java
View file @
37a1328
... | ... | @@ -396,7 +396,7 @@ |
396 | 396 | map.put("yunqi", yunqi); |
397 | 397 | } |
398 | 398 | map.put("height", patientWeight.getBeforeHeight() == null ? "" : MathUtil.doubleFormat(Double.parseDouble(patientWeight.getBeforeHeight())/100) + " 米"); |
399 | - map.put("beforeWeight", patientWeight.getBeforeWeight() + " 公斤"); | |
399 | + map.put("beforeWeight", patientWeight.getBeforeWeight() == null ? "" : patientWeight.getBeforeWeight() + " 公斤"); | |
400 | 400 | map.put("bmi", patientWeight.getBmi()); |
401 | 401 | map.put("nowWeight", patientWeight.getNowWeight() + " 公斤"); |
402 | 402 | String pregnancy = DateUtil.getWeekDesc(patients.getLastMenses(), new Date()); |