List checked = itemList.stream()
.filter(item->item.isCheck()==true)
.collect(Collectors.toList());
List layers = checked.stream()
.map(OutInEntity::getFileInfo)
.map(FileEntity::getLayer)
.distinct()
.collect(Collectors.toList());
List checked = itemList.stream()
.filter(item->item.isCheck()==true)
.collect(Collectors.toList());
List layers = checked.stream()
.map(OutInEntity::getFileInfo)
.map(FileEntity::getLayer)
.distinct()
.collect(Collectors.toList());