stream对集合对象多条件或单条件排序 收集字段集合
List<MemberRecruitMonthStoreDomain> MemberRecruitList = convertMemberRecruitList.stream().sorted(Comparator.comparing(MemberRecruitMonthStoreDomain::getStoreCode)
.thenComparing(MemberRecruitMonthStoreDomain::getRegisterChannel)).collect(Collectors.toList());
//从list集合中,取出字段name的列表
List<String> names = list.stream().map(tem ->tem.getName()).collect(Collectors.toList());