Commit 09faac7a authored by 赵啸非's avatar 赵啸非

添加窗口编码

parent bbde3214
......@@ -102,9 +102,9 @@ public class WindowOwnerServiceImpl extends AbstractCRUDServiceImpl<WindowOwnerD
}
ownerList.addAll(subList);
ownerList.addAll(subTwoList);
ownerList = ownerList.stream().sorted(Comparator.comparing(WindowPdu::getSelected).reversed()).collect(Collectors.toList());
if (!ObjectUtils.isEmpty(pdu.getHallId())) {
ownerList = ownerList.stream().sorted(Comparator.comparing(WindowPdu::getSelected)).filter(f -> pdu.getHallId().equals(f.getHallId())).collect(Collectors.toList());
ownerList = ownerList.stream().filter(f -> pdu.getHallId().equals(f.getHallId())).collect(Collectors.toList());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment