demo:List<PartycommitteeDetailList> list=(List) partycommitteeDetailListListAll.stream().distinct().collect(Collectors.toList());