Commit edb909560f308eaeadcdbd59dd46304e3125e4ba
1 parent
9c891da36b
Exists in
master
and in
6 other branches
体重报告
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
edb9095
... | ... | @@ -547,7 +547,7 @@ |
547 | 547 | map.put("yunqi", yunqi); |
548 | 548 | } |
549 | 549 | map.put("week",week); |
550 | - map.put("bregmatic", StringUtils.isNotEmpty(patientWeight.getBregmatic()) ? "1" : patientWeight.getBregmatic()); | |
550 | + map.put("bregmatic", StringUtils.isNotEmpty(patientWeight.getBregmatic()) ? patientWeight.getBregmatic() : "1"); | |
551 | 551 | map.put("height", patientWeight.getBeforeHeight() == null ? "" : MathUtil.doubleFormat(Double.parseDouble(patientWeight.getBeforeHeight()) / 100) + " 米"); |
552 | 552 | map.put("beforeWeight", patientWeight.getBeforeWeight() == null ? "" : patientWeight.getBeforeWeight() + " 公斤"); |
553 | 553 | map.put("bmi", patientWeight.getBmi()); |