From 4b79f0c3f043d40c266671daecf86c246abdb0d1 Mon Sep 17 00:00:00 2001 From: wenjy Date: Sun, 29 May 2022 12:44:46 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=9B=91=E6=8E=A7=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E4=BC=A0=E6=84=9F=E5=99=A8=E7=8A=B6=E6=80=81=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/iot/IndexController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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+""); }