Commit 6b0b46e2ba5cb80bc879e106ed4fbff253d33216
1 parent
535499f796
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 @
6b0b46e
| ... | ... | @@ -281,6 +281,7 @@ |
| 281 | 281 | dayWeights = pw.getDayWeights(); |
| 282 | 282 | } |
| 283 | 283 | dayWeights.put(DateUtil.getyyyy_MM_dd(new Date()), nowWeight); |
| 284 | + pw.setNowWeight(nowWeight); | |
| 284 | 285 | pw.setDayWeights(dayWeights); |
| 285 | 286 | if(patients != null && StringUtils.isNotEmpty(nowWeight)) { |
| 286 | 287 | weights.put(DateUtil.getWeek(patients.getLastMenses(), new Date()), nowWeight); |