Commit 8a84a32559b3a758d687cf9d927f72160e46acca
1 parent
2c6d1ca701
Exists in
master
and in
6 other branches
体重管理相关代码
Showing 2 changed files with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientWeightController.java
View file @
8a84a32
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
8a84a32
... | ... | @@ -249,6 +249,7 @@ |
249 | 249 | PatientWeight patientWeight = mongoTemplate.findOne(Query.query(Criteria.where("patientId").is(patientId).and("hospitalId").is(hospitalId)), PatientWeight.class); |
250 | 250 | if(patientWeight != null) { |
251 | 251 | Map<String, Object> map = new HashMap<>(); |
252 | + map.put("beforeWeight", patientWeight.getBeforeWeight()); | |
252 | 253 | setReport(map, patientWeight.getWeights(), patientWeight.getBeforeWeight(), patientWeight.getBmi(), patientWeight.getDayWeights()); |
253 | 254 | return RespBuilder.buildSuccess(map); |
254 | 255 | } |