diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/iot/IndexController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/iot/IndexController.java index f2b4a68..9151b0d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/iot/IndexController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/iot/IndexController.java @@ -352,13 +352,13 @@ public class IndexController { if(baseSensorInfoDtos != null){ this.add(baseSensorInfoDtos.size() + ""); if(baseSensorInfoDtos.size() > 0) { - /*this.add( + this.add( baseSensorInfoDtos.stream() .filter(z -> z.getSensorStatus() == 1) .collect(Collectors.toList()) .size() - + "");*/ - this.add(0+""); + + ""); + //this.add(0+""); }else{ this.add(0+""); }