From bd5098320fa451d5a360815682388a3c98ab3505 Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Fri, 22 Sep 2017 14:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E9=87=8D=E7=AE=A1=E7=90=86=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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 20b2d73..e2cd30d 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 @@ -282,6 +282,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient } dayWeights.put(DateUtil.getyyyy_MM_dd(new Date()), nowWeight); pw.setNowWeight(nowWeight); + pw.setBmi(getBmi(patientWeight.getNowWeight(), pw.getBeforeHeight())); pw.setDayWeights(dayWeights); if(patients != null && StringUtils.isNotEmpty(nowWeight)) { weights.put(DateUtil.getWeek(patients.getLastMenses(), new Date()), nowWeight); -- 1.8.3.1