List<NodeDataBean> dviceList = gojsServiceImpl.getDvices(bigsysId);
dviceList = dviceList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(NodeDataBean :: getId))), ArrayList::new));
这里是根据NodeDataBean对象的id字段进行判断去重