From ce7074f65cd7d4284c38750697961f7359fc1594 Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Thu, 21 Sep 2017 16:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9app=E7=9A=84=E6=9B=B2=E7=BA=BF?= =?UTF-8?q?=E8=BF=94=E5=9B=9E?= 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 f51b73c..d9ac1f3 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 @@ -290,8 +290,8 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient patientWeight.setHospitalId(patients.getHospitalId()); if(StringUtils.isNotBlank(patientWeight.getPatientId()) && StringUtils.isNotEmpty(patientWeight.getNowWeight())) { weights.put(DateUtil.getWeek(patients.getLastMenses(), new Date()), nowWeight); - patientWeight.setWeights(weights); } + patientWeight.setWeights(weights); if(StringUtils.isNotBlank(patientWeight.getNowWeight()) && patientWeight.getBeforeHeight() != null) { patientWeight.setBmi(getBmi(patientWeight.getNowWeight(), patientWeight.getBeforeHeight())); } -- 1.8.3.1