|
|
@ -343,7 +343,7 @@ public class VolunteerInfoServiceImpl extends BaseServiceImpl<VolunteerInfoDao, |
|
|
|
if (volunteerRes.success() && CollectionUtils.isNotEmpty(volunteerRes.getData())) { |
|
|
|
resultList = ConvertUtils.sourceToTarget(volunteerRes.getData(), OptionDTO.class); |
|
|
|
resultList = resultList.stream().sorted((o1, o2) -> |
|
|
|
Collator.getInstance(Locale.TRADITIONAL_CHINESE).compare(o1.getLabel(),o2.getLabel())) |
|
|
|
Collator.getInstance(Locale.SIMPLIFIED_CHINESE).compare(o1.getLabel(),o2.getLabel())) |
|
|
|
.collect(Collectors.toList()); |
|
|
|
} |
|
|
|
return resultList; |
|
|
|