Commit b7ae3fb33f65af9d9036ffb9eb8b0a56697b1054

Authored by jiangjiazhi
1 parent 3abda2226d

修改体重营养报告

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodPressureServiceImpl.java View file @ b7ae3fb
... ... @@ -135,7 +135,7 @@
135 135 String szy1 = map.get("szy").toString();//小的
136 136 String ssy1 = map.get("ssy").toString();//大的
137 137 //血压波动异常次数
138   - if (Math.abs(NumberUtils.toInt(szy1, 0) - NumberUtils.toInt(szy, 0)) > 20 || Math.abs(NumberUtils.toInt(ssy1, 0) - NumberUtils.toInt(ssy, 0)) > 30) {
  138 + if (Math.abs(NumberUtils.toInt(szy1, 0) - NumberUtils.toInt(szy, 0)) >= 20 || Math.abs(NumberUtils.toInt(ssy1, 0) - NumberUtils.toInt(ssy, 0)) >= 30) {
139 139 ++bpcount;
140 140 }
141 141 }