Browse Source

修复临时文件路径问题

欧阳劲驰 1 tháng trước cách đây
mục cha
commit
9268da302c

+ 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);