Browse Source

xielianghe

lange 5 năm trước cách đây
mục cha
commit
21f9e5deb8

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

@@ -74,6 +74,12 @@ public class MsSuspectedService {
 
         //判断是否疑似
         Integer suspectedStatus = 0;
+        //确诊
+        if (medical == 0)
+            suspectedStatus = 1;
+        //隔离
+        if (singleRoom == 1)
+            suspectedStatus = 1;
         //体温
         if (temperature.compareTo(new BigDecimal(36)) == -1 || temperature.compareTo(new BigDecimal(37.3)) == 1)
             suspectedStatus = 1;