ソースを参照

同步-同步合同段-历史html调整
1、历史html的路径应加上pkeyId

LHB 2 週間 前
コミット
1418cd21c8

+ 2 - 2
blade-service/blade-business/src/main/java/org/springblade/business/utils/FileUtils.java

@@ -399,8 +399,8 @@ public class FileUtils {
     /**
      * 生成带后缀的副本路径
      */
-    public static Path generateCopyPath(Path originalPath) {
-        String suffix = "_copy";
+    public static Path generateCopyPath(Path originalPath, Long pKeyId) {
+        String suffix = "_" + pKeyId + "_copy";
         String fileName = originalPath.getFileName().toString();
         int dotIndex = fileName.lastIndexOf('.');