| | |
| | | import java.time.LocalDateTime; |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | |
| | | return storageBlobDTOs; |
| | | } |
| | | |
| | | @Override |
| | | public List<StorageBlobDTO> updateStorageBlob(MultipartFile file, String bucketName, Long type) { |
| | | return updateStorageBlobs(Collections.singletonList(file), bucketName, type); |
| | | } |
| | | |
| | | private StorageBlobDTO buildStorageBlobDTO(MultipartFile file, MinioResult res, String bucketName, Long type) { |
| | | StorageBlobDTO dto = new StorageBlobDTO(); |
| | | dto.setContentType(file.getContentType()); |