diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java index 20f900e..dca5285 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java @@ -710,6 +710,7 @@ public class MeasureInfoFacade { String tireNumber = ""; String bmi = ""; String currentWeight = ""; + String lastWeight = ""; List patientWeights = patientWeightService2.queryPatientWeight(Query.query(Criteria.where("patientId").is(pat.getId()))); if (CollectionUtils.isNotEmpty(patientWeights)) @@ -718,6 +719,7 @@ public class MeasureInfoFacade { bmi = weight.getBmi() == null ? "" : weight.getBmi(); beforeWeight = weight.getBeforeWeight() == null ? "" : weight.getBeforeWeight(); beforeHeight = weight.getBeforeHeight() == null ? "" : weight.getBeforeHeight(); + lastWeight = weight.getNowWeight() == null ? "" : weight.getNowWeight(); } else { @@ -741,6 +743,7 @@ public class MeasureInfoFacade { patInfo.put("bmi",bmi); patInfo.put("currentWeight",currentWeight); patInfo.put("patientId",pat.getId()); + patInfo.put("lastWeight",pat.getId()); objectResponse.setData(patInfo); objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS);