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