提交 c021dc73 authored 作者: ozoz's avatar ozoz

feat:修改核查过滤问题

上级 52a09525
...@@ -497,12 +497,15 @@ public class DeviceCheckController { ...@@ -497,12 +497,15 @@ public class DeviceCheckController {
} }
switch (filter) { switch (filter) {
case 1: case 1:
devInLib = devInLib.stream().filter(o -> o.getLifeStatus() != 4).collect(toList());
devNotInLib = devNotInLib.stream().filter(o -> o.getLifeStatus() != 4).collect(toList()); devNotInLib = devNotInLib.stream().filter(o -> o.getLifeStatus() != 4).collect(toList());
break; break;
case 2: case 2:
devInLib = devInLib.stream().filter(o -> o.getLifeStatus() != 16).collect(toList());
devNotInLib = devNotInLib.stream().filter(o -> o.getLifeStatus() != 16).collect(toList()); devNotInLib = devNotInLib.stream().filter(o -> o.getLifeStatus() != 16).collect(toList());
break; break;
case 3: case 3:
devInLib = devInLib.stream().filter(o -> o.getLifeStatus() != 4).filter(o -> o.getLifeStatus() != 16).collect(toList());
devNotInLib = devNotInLib.stream().filter(o -> o.getLifeStatus() != 4).filter(o -> o.getLifeStatus() != 16).collect(toList()); devNotInLib = devNotInLib.stream().filter(o -> o.getLifeStatus() != 4).filter(o -> o.getLifeStatus() != 16).collect(toList());
break; break;
default: default:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论