|
|
@ -461,13 +461,20 @@ public class IcVolunteerPolyServiceImpl extends BaseServiceImpl<IcVolunteerPolyD |
|
|
|
|
|
|
|
Map<String, String> data = volunteerMap.getData(); |
|
|
|
|
|
|
|
return list.stream().map(item -> { |
|
|
|
data.values().forEach(item -> { |
|
|
|
for (int i = 0 ; i< list.size() ; i++){ |
|
|
|
list.get(i).setLabel(item); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
return list; |
|
|
|
/*return list.stream().map(item -> { |
|
|
|
VolunteerPolyPieResultDTO dto = new VolunteerPolyPieResultDTO(); |
|
|
|
dto.setCode(item.getCode()); |
|
|
|
dto.setValue(item.getValue()); |
|
|
|
dto.setLabel(item.getCode()); |
|
|
|
dto.setLabel(item.getLabel()); |
|
|
|
return dto; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
}).collect(Collectors.toList());*/ |
|
|
|
} |
|
|
|
|
|
|
|
} |