From 37a1328a4de2949fc87d517015b4d92297af9263 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Tue, 15 May 2018 11:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=A5=E5=85=BB=E7=AE=A1=E7=90=86=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=88=B0=E5=BF=AB=E9=80=9F=E6=B5=8B=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/service/impl/PatientWeightServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java index fa42cef..66b3cee 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java @@ -396,7 +396,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient map.put("yunqi", yunqi); } map.put("height", patientWeight.getBeforeHeight() == null ? "" : MathUtil.doubleFormat(Double.parseDouble(patientWeight.getBeforeHeight())/100) + " 米"); - map.put("beforeWeight", patientWeight.getBeforeWeight() + " 公斤"); + map.put("beforeWeight", patientWeight.getBeforeWeight() == null ? "" : patientWeight.getBeforeWeight() + " 公斤"); map.put("bmi", patientWeight.getBmi()); map.put("nowWeight", patientWeight.getNowWeight() + " 公斤"); String pregnancy = DateUtil.getWeekDesc(patients.getLastMenses(), new Date()); -- 1.8.3.1