Browse Source

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

LHB 2 tuần trước cách đây
mục cha
commit
8b56924d7d

+ 1 - 1
blade-service/blade-business/src/main/java/org/springblade/business/controller/InformationWriteQueryController.java

@@ -1060,7 +1060,7 @@ public class InformationWriteQueryController extends BladeController {
                             // 获取或下载文件
                             Path sourcePath = FileUtils.getOrDownloadFile(htmlUrl);
                             // 生成副本路径
-                            Path copyPath = FileUtils.generateCopyPath(sourcePath);
+                            Path copyPath = FileUtils.generateCopyPath(sourcePath,wbsTreeContract.getPKeyId());
                             // 执行复制操作(覆盖已存在的文件)
                             Files.copy(sourcePath, copyPath, StandardCopyOption.REPLACE_EXISTING);