Commit 77a507cec2030f58d84097d81e16bf30107525d7

Authored by liquanyu
1 parent ec799075e4

体重管理

Showing 1 changed file with 3 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java View file @ 77a507c
... ... @@ -710,6 +710,7 @@
710 710 String tireNumber = "";
711 711 String bmi = "";
712 712 String currentWeight = "";
  713 + String lastWeight = "";
713 714  
714 715 List<PatientWeight> patientWeights = patientWeightService2.queryPatientWeight(Query.query(Criteria.where("patientId").is(pat.getId())));
715 716 if (CollectionUtils.isNotEmpty(patientWeights))
... ... @@ -718,6 +719,7 @@
718 719 bmi = weight.getBmi() == null ? "" : weight.getBmi();
719 720 beforeWeight = weight.getBeforeWeight() == null ? "" : weight.getBeforeWeight();
720 721 beforeHeight = weight.getBeforeHeight() == null ? "" : weight.getBeforeHeight();
  722 + lastWeight = weight.getNowWeight() == null ? "" : weight.getNowWeight();
721 723 }
722 724 else
723 725 {
... ... @@ -741,6 +743,7 @@
741 743 patInfo.put("bmi",bmi);
742 744 patInfo.put("currentWeight",currentWeight);
743 745 patInfo.put("patientId",pat.getId());
  746 + patInfo.put("lastWeight",pat.getId());
744 747  
745 748 objectResponse.setData(patInfo);
746 749 objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS);