|
@@ -263,12 +263,13 @@ public class ReportCalcService {
|
|
|
tempTmpWorkbook.write(Files.newOutputStream(resultFile.toPath()));
|
|
|
tempTmpWorkbook.close();
|
|
|
log.debug("报告生成到:{}", resultFile.getAbsolutePath());
|
|
|
- if (!JavaRuntimeUtils.isDebug()){
|
|
|
+
|
|
|
+ }
|
|
|
+ if (!JavaRuntimeUtils.isDebug()){
|
|
|
// 如果不是 DEBUG 模式,则删除临时文件
|
|
|
String tempDir = templatePath + File.separator + "tempTmp";
|
|
|
FileUtil.deletePath(tempDir);
|
|
|
}
|
|
|
- }
|
|
|
log.debug("开始处理集成报表");
|
|
|
|
|
|
} catch (IOException e) {
|