update
This commit is contained in:
@@ -66,7 +66,7 @@ public class ExperimentDocServiceImpl extends ServiceImpl<ExperimentDocMapper, E
|
|||||||
throw new RuntimeException("实验数据不存在!");
|
throw new RuntimeException("实验数据不存在!");
|
||||||
}
|
}
|
||||||
String tmpDirPath = FileUtil.getTmpDirPath();
|
String tmpDirPath = FileUtil.getTmpDirPath();
|
||||||
String outputFile = tmpDirPath + fileName + "-" + experimentId + "-" + version + ".docx";
|
String outputFile = tmpDirPath + File.separator + fileName + "-" + experimentId + "-" + version + ".docx";
|
||||||
if (FileUtil.exist(outputFile)) {
|
if (FileUtil.exist(outputFile)) {
|
||||||
FileUtil.del(outputFile);
|
FileUtil.del(outputFile);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user