Browse Source

fix:发票管理销售发票生成

CAYK\miaosen.zhao 4 months ago
parent
commit
902a5794b7

+ 1 - 1
src/main/java/com/sunxung/factoring/service/invoicemanage/impl/InvoiceBasicInfoServiceImpl.java

@@ -296,7 +296,7 @@ public class InvoiceBasicInfoServiceImpl extends ServiceImpl<InvoiceBasicInfoMap
         if (!file.getParentFile().exists()) {
         if (!file.getParentFile().exists()) {
             file.getParentFile().mkdirs();
             file.getParentFile().mkdirs();
         }
         }
-        file.deleteOnExit();
+//        file.deleteOnExit();
         for (int i = 0; i < 14; i++) {
         for (int i = 0; i < 14; i++) {
             Row row = sheet.createRow(0);
             Row row = sheet.createRow(0);
             Cell cell = row.createCell(0);
             Cell cell = row.createCell(0);