Browse Source

优化导出数据集bug

dev-opt-homepage
chenzhihang 1 year ago
parent
commit
a83e10c664
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java

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

@@ -233,7 +233,7 @@ public class NewDatasetServiceImpl implements NewDatasetService {

if (Constant.Source_Hand_Export.equals(datasetVo.getDatasetSource())) {
String bucketName = sourcePath.split("/")[0];
String root_path = sourcePath.split("/")[1];
String root_path = sourcePath.substring(bucketName.length() + 1);
minioUtil.downloadFiles(bucketName, root_path, datasetPath);
} else {
dvcUtils.moveFiles(sourcePath, datasetPath);


Loading…
Cancel
Save