From a83e10c664bf9033e83eb67130d8cb821a981fb6 Mon Sep 17 00:00:00 2001 From: chenzhihang <709011834@qq.com> Date: Fri, 6 Jun 2025 16:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=BC=E5=87=BA=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java index 24bc4fca..6f3a509b 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java @@ -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);