From b7ae3fb33f65af9d9036ffb9eb8b0a56697b1054 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Wed, 29 Aug 2018 11:12:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=93=E9=87=8D=E8=90=A5?= =?UTF-8?q?=E5=85=BB=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/service/impl/BloodPressureServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodPressureServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodPressureServiceImpl.java index 95abd9e..2e199fd 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodPressureServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodPressureServiceImpl.java @@ -135,7 +135,7 @@ public class BloodPressureServiceImpl extends BaseServiceImpl implements IBloodP String szy1 = map.get("szy").toString();//小的 String ssy1 = map.get("ssy").toString();//大的 //血压波动异常次数 - if (Math.abs(NumberUtils.toInt(szy1, 0) - NumberUtils.toInt(szy, 0)) > 20 || Math.abs(NumberUtils.toInt(ssy1, 0) - NumberUtils.toInt(ssy, 0)) > 30) { + if (Math.abs(NumberUtils.toInt(szy1, 0) - NumberUtils.toInt(szy, 0)) >= 20 || Math.abs(NumberUtils.toInt(ssy1, 0) - NumberUtils.toInt(ssy, 0)) >= 30) { ++bpcount; } } -- 1.8.3.1