Browse Source

修改bug

pull/40/head
西大锐 1 year ago
parent
commit
3f69da987d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DatasetServiceImpl.java

+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/DatasetServiceImpl.java View File

@@ -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) {


Loading…
Cancel
Save