From 6b0b46e2ba5cb80bc879e106ed4fbff253d33216 Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Fri, 22 Sep 2017 14:46:12 +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 84cc0bb..20b2d73 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 @@ -281,6 +281,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient dayWeights = pw.getDayWeights(); } dayWeights.put(DateUtil.getyyyy_MM_dd(new Date()), nowWeight); + pw.setNowWeight(nowWeight); pw.setDayWeights(dayWeights); if(patients != null && StringUtils.isNotEmpty(nowWeight)) { weights.put(DateUtil.getWeek(patients.getLastMenses(), new Date()), nowWeight); -- 1.8.3.1