Commit 47e77e2f84caec68e5791af15cbe22398a95a1d0
1 parent
f621d6de5a
Exists in
master
and in
6 other branches
体重管理相关代码
Showing 1 changed file with 1 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
47e77e2
... | ... | @@ -74,6 +74,7 @@ |
74 | 74 | } |
75 | 75 | pw.setWeights(weights); |
76 | 76 | pw.setDayWeights(dayWeights); |
77 | + pw.setNowWeight(patientWeight.getNowWeight()); | |
77 | 78 | Update update = MongoConvertHelper.convertToNativeUpdate(ReflectionUtils.getUpdateField(pw)); |
78 | 79 | mongoTemplate.updateFirst(Query.query(Criteria.where("id").is(pw.getId())), update, PatientWeight.class); |
79 | 80 | return RespBuilder.buildSuccess(pw.getId()); |