|
|
|
@ -1171,7 +1171,7 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
workbook.write(response.getOutputStream()); |
|
|
|
} |
|
|
|
} else if ("02-Hardtag".equalsIgnoreCase(buNo)) { |
|
|
|
ExcelTemplateYB template = ExcelTemplateYB.load(new ClassPathResource("templates/TX/declaration-template.xlsx").getInputStream()); |
|
|
|
ExcelTemplateYB template = ExcelTemplateYB.load(new ClassPathResource("templates/YB/declaration-template.xlsx").getInputStream()); |
|
|
|
extractedDeclaration(data, new Yb2ExcelTemplateAdapter(template)); |
|
|
|
try (XSSFWorkbook workbook = template.render(0)) { |
|
|
|
workbook.write(response.getOutputStream()); |
|
|
|
|