From d7fd0471eef62301386ee817c79ea817134fe216 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 31 Oct 2022 15:37:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=AE=9A=E6=97=B6=E6=8A=A5=E5=91=8A):=20?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E4=BB=BB=E5=8A=A1=E9=80=89=E5=90=8C=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E4=BB=AA=E8=A1=A8=E6=9D=BF=E4=B8=8D=E5=90=8C=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E6=95=B0=E6=8D=AE=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/dataease/commons/utils/ExcelUtils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/main/java/io/dataease/commons/utils/ExcelUtils.java b/backend/src/main/java/io/dataease/commons/utils/ExcelUtils.java index 78394de43e..e03382babe 100644 --- a/backend/src/main/java/io/dataease/commons/utils/ExcelUtils.java +++ b/backend/src/main/java/io/dataease/commons/utils/ExcelUtils.java @@ -68,6 +68,9 @@ public class ExcelUtils { if (StringUtils.isNotBlank(folderId)) { folderPath = BASE_ROOT + folderId + "/"; } + + folderPath += Thread.currentThread().getId() + "/"; + if (!FileUtil.exist(folderPath)) { FileUtil.mkdir(folderPath); }