Commit 9a15862137153246d7ca2d93e3909250271e1e86
1 parent
0ed433d8bb
Exists in
master
and in
6 other branches
血压报告bug修改
Showing 1 changed file with 3 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodPressureServiceImpl.java
View file @
9a15862
... | ... | @@ -844,11 +844,11 @@ |
844 | 844 | Double number = 354 - 6.91 * age + 1.12 * (9.36 * beforWeight + 726 * heights); |
845 | 845 | //单胎 |
846 | 846 | if ("1".equals(bregmatic) && StringUtils.isNotEmpty(bregmatic)) { |
847 | - if (residualWeight >= low - 1.0 && residualWeight <= high + 1.0 && bmiD > 18.5 && weeks >= 0 && weeks <= 12) { | |
847 | + if (residualWeight >= low - 1.0 && residualWeight <= high + 1.0 && bmiD < 18.5 && weeks >= 0 && weeks <= 12) { | |
848 | 848 | return number; |
849 | - } else if (residualWeight >= low - 1.0 && residualWeight <= high + 1.0 && bmiD > 18.5 && weeks >= 13 && weeks <= 28) { | |
849 | + } else if (residualWeight >= low - 1.0 && residualWeight <= high + 1.0 && bmiD < 18.5 && weeks >= 13 && weeks <= 28) { | |
850 | 850 | return number + 380; |
851 | - } else if (residualWeight >= low - 1.0 && residualWeight <= high + 1.0 && bmiD > 18.5 && weeks >= 29 && weeks <= 40) { | |
851 | + } else if (residualWeight >= low - 1.0 && residualWeight <= high + 1.0 && bmiD < 18.5 && weeks >= 29 && weeks <= 40) { | |
852 | 852 | return number + 500; |
853 | 853 | } else if (residualWeight >= low - 1.0 && residualWeight <= high + 1.0 && bmiD >= 18.5 && bmiD <= 24.9 && weeks >= 0 && weeks <= 12) { |
854 | 854 | return number; |