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

main
wenjy 3 years ago
parent 49d145fab1
commit 4b79f0c3f0

@ -352,13 +352,13 @@ public class IndexController {
if(baseSensorInfoDtos != null){ if(baseSensorInfoDtos != null){
this.add(baseSensorInfoDtos.size() + ""); this.add(baseSensorInfoDtos.size() + "");
if(baseSensorInfoDtos.size() > 0) { if(baseSensorInfoDtos.size() > 0) {
/*this.add( this.add(
baseSensorInfoDtos.stream() baseSensorInfoDtos.stream()
.filter(z -> z.getSensorStatus() == 1) .filter(z -> z.getSensorStatus() == 1)
.collect(Collectors.toList()) .collect(Collectors.toList())
.size() .size()
+ "");*/ + "");
this.add(0+""); //this.add(0+"");
}else{ }else{
this.add(0+""); this.add(0+"");
} }

Loading…
Cancel
Save