Commit bd5098320fa451d5a360815682388a3c98ab3505
1 parent
d76f7b7504
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 @
bd50983
... | ... | @@ -282,6 +282,7 @@ |
282 | 282 | } |
283 | 283 | dayWeights.put(DateUtil.getyyyy_MM_dd(new Date()), nowWeight); |
284 | 284 | pw.setNowWeight(nowWeight); |
285 | + pw.setBmi(getBmi(patientWeight.getNowWeight(), pw.getBeforeHeight())); | |
285 | 286 | pw.setDayWeights(dayWeights); |
286 | 287 | if(patients != null && StringUtils.isNotEmpty(nowWeight)) { |
287 | 288 | weights.put(DateUtil.getWeek(patients.getLastMenses(), new Date()), nowWeight); |