- stream流过滤在存到集合
List<BapGovAddBudget> list1 = new ArrayList<>();
List<BapGovAddBudget> list2 = new ArrayList<>();
list2 = list1.stream().filter(bapGovAddBudget -> bapGovAddBudget.getSpecialRow()==0).collect(Collectors.toList());
List<BapGovAddBudget> list1 = new ArrayList<>();
List<BapGovAddBudget> list2 = new ArrayList<>();
list2 = list1.stream().filter(bapGovAddBudget -> bapGovAddBudget.getSpecialRow()==0).collect(Collectors.toList());