|
|
@@ -666,16 +666,16 @@ public class CollectionService {
|
|
|
}else if (dateTime.equals(collectionDTO.getStartTime())){
|
|
|
collectionDtoList.add(collectionDTO);
|
|
|
}else {
|
|
|
- map.put(dateTime,collectionDtoList);
|
|
|
+ map.put(dateTime,new ArrayList<>(collectionDtoList));
|
|
|
dateTime = collectionDTO.getStartTime();
|
|
|
collectionDtoList.clear();
|
|
|
collectionDtoList.add(collectionDTO);
|
|
|
}
|
|
|
}
|
|
|
- map.put(dateTime,collectionDtoList);
|
|
|
+ map.put(dateTime,new ArrayList<>(collectionDtoList));
|
|
|
subscribeListDTOS.add(SubscribeListDTO.builder()
|
|
|
.dateTime(pageNew.getContent().get(0).getStartTime())
|
|
|
- .collectionDTOS(map)
|
|
|
+ .collectionDTOS(new HashMap<>(map))
|
|
|
.build());
|
|
|
}
|
|
|
if (!map.isEmpty()){
|