浏览代码

修复临时文件路径问题

欧阳劲驰 1 月之前
父节点
当前提交
9268da302c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/shkpr/service/alambizplugin/components/GisSurveyCadConverter.java

+ 1 - 1
src/main/java/com/shkpr/service/alambizplugin/components/GisSurveyCadConverter.java

@@ -185,7 +185,7 @@ public class GisSurveyCadConverter {
         try {
             //文件路径
             final String fileName = convertId + "." + cadEnum.getSuffix();
-            final Path filePath = Paths.get(tempFileProperties.getResourcePath() + fileName);
+            final Path filePath = Paths.get(tempFileProperties.getResourcePath() + "/" + fileName);
             //如存在,则删除
             if (Files.exists(filePath)) Files.delete(filePath);