|
|
|
@@ -240,6 +240,7 @@ public class DatasetServiceImpl implements DatasetService { |
|
|
|
@Override |
|
|
|
public List<Map<String, String>> uploadDataset(MultipartFile[] files, String uuid) throws Exception { |
|
|
|
List<Map<String, String>> results = new ArrayList<>(); |
|
|
|
|
|
|
|
for (MultipartFile file:files){ |
|
|
|
// 构建objectName |
|
|
|
String username = SecurityUtils.getLoginUser().getUsername(); |
|
|
|
@@ -259,7 +260,6 @@ public class DatasetServiceImpl implements DatasetService { |
|
|
|
if (dataset == null) { |
|
|
|
throw new Exception("数据集不存在,请检查数据集id"); |
|
|
|
} |
|
|
|
|
|
|
|
DatasetVersion version = datasetVersionService.queryByDatasetVersion(datasetVersion); |
|
|
|
String url = ""; |
|
|
|
if (version == null) { |
|
|
|
|