|
@@ -364,7 +364,7 @@ public class AgreementLogic {
|
|
|
path = Objects.requireNonNull(this.getClass().getClassLoader().getResource("")).getPath();
|
|
|
}
|
|
|
// 文件名:采用UUID,防止多线程同时生成导致的文件重名
|
|
|
- String filePath = String.format("%s-%s.xlsx", path, mailboxSendRecord.getSendBatch() + "-工伤险");
|
|
|
+ String filePath = String.format("%s%s.xlsx", path, mailboxSendRecord.getSendBatch() + "-工伤险");
|
|
|
ExcelData excelData = new ExcelData();
|
|
|
excelData.setTitles(Arrays.asList(titles));
|
|
|
excelData.setRows(rows);
|
|
@@ -415,7 +415,7 @@ public class AgreementLogic {
|
|
|
path = Objects.requireNonNull(this.getClass().getClassLoader().getResource("")).getPath();
|
|
|
}
|
|
|
// 文件名:采用UUID,防止多线程同时生成导致的文件重名
|
|
|
- String filePath = String.format("%s-%s.xlsx", path, mailboxSendRecord.getSendBatch() + "-雇主险");
|
|
|
+ String filePath = String.format("%s%s.xlsx", path, mailboxSendRecord.getSendBatch() + "-雇主险");
|
|
|
ExcelData excelData = new ExcelData();
|
|
|
excelData.setTitles(Arrays.asList(titles));
|
|
|
excelData.setRows(rows);
|
|
@@ -466,7 +466,7 @@ public class AgreementLogic {
|
|
|
path = Objects.requireNonNull(this.getClass().getClassLoader().getResource("")).getPath();
|
|
|
}
|
|
|
// 文件名:采用UUID,防止多线程同时生成导致的文件重名
|
|
|
- String filePath = String.format("%s-%s.xlsx", path, mailboxSendRecord.getSendBatch() + "-意外险");
|
|
|
+ String filePath = String.format("%s%s.xlsx", path, mailboxSendRecord.getSendBatch() + "-意外险");
|
|
|
ExcelData excelData = new ExcelData();
|
|
|
excelData.setTitles(Arrays.asList(titles));
|
|
|
excelData.setRows(rows);
|