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);