From b688c3fe1ecdf645cbc8658139d29f1340acbf4e Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期二, 09 十二月 2025 15:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 fzzy-igdss-core/src/main/java/com/fzzy/igds/service/FileService.java |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/fzzy-igdss-core/src/main/java/com/fzzy/igds/service/FileService.java b/fzzy-igdss-core/src/main/java/com/fzzy/igds/service/FileService.java
index cdbe480..c6c9507 100644
--- a/fzzy-igdss-core/src/main/java/com/fzzy/igds/service/FileService.java
+++ b/fzzy-igdss-core/src/main/java/com/fzzy/igds/service/FileService.java
@@ -178,6 +178,38 @@
     }
 
     /**
+     * 鑾峰彇涓存椂璺緞
+     * @param companyId
+     * @return
+     */
+    public String getTempFilePath(String companyId) {
+
+        String basePath = FrameworkConfig.getProfile() + "TEMP/";
+        if (org.apache.commons.lang3.StringUtils.isNotEmpty(companyId)) {
+            basePath += companyId + "/";
+        }
+        File file = new File(basePath);
+        if (!file.exists()) {
+            file.mkdirs();
+        }
+        return basePath;
+    }
+
+    /**
+     * 鑾峰彇妯℃澘璺緞
+     * @return
+     */
+    public String getConfPath() {
+
+        String basePath = FrameworkConfig.getProfile() + "CONF/";
+        File file = new File(basePath);
+        if (!file.exists()) {
+            file.mkdirs();
+        }
+        return basePath;
+    }
+
+    /**
      * 鍘嬬缉鍥剧墖
      *
      * @param filePath   鍘嬬缉鍓嶈矾寰�
@@ -201,4 +233,6 @@
         ImageIO.write(compressedImage, "jpg", new File(outputPath));
     }
 
+
+
 }

--
Gitblit v1.9.3