change - 监控主页传感器状态统计修改

main
wenjy 3 years ago
parent 49d145fab1
commit 4b79f0c3f0

@ -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+"");
}

Loading…
Cancel
Save