lange il y a 5 ans
Parent
commit
e7b798a753

+ 1 - 1
whepi-web/src/main/java/com/bofeng/service/MsSuspectedService.java

@@ -75,7 +75,7 @@ public class MsSuspectedService {
         //判断是否疑似
         Integer suspectedStatus = 0;
         //体温
-        if (temperature.compareTo(new BigDecimal(36)) == -1 && temperature.compareTo(new BigDecimal(37.3)) == 1)
+        if (temperature.compareTo(new BigDecimal(36)) == -1 || temperature.compareTo(new BigDecimal(37.3)) == 1)
             suspectedStatus = 1;
         //咳嗽
         if (cough > 0)