Quellcode durchsuchen

Merge branch 'master' of http://softwarescience.top:3000/RWA/RWAServer

ZhangYanJie vor 2 Wochen
Ursprung
Commit
a6c6ec3543

+ 3 - 2
Procedure/backend/project/src/main/java/com/sundata/product/rwa/calc/service/ReportCalcService.java

@@ -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) {