XLSWriter.template(..) 적용

master
mjkhan21 9 months ago
parent a3caa7bae1
commit a64a031fce

@ -44,7 +44,7 @@ public class SntrisBean extends AbstractBean {
public Downloadable getDownloadable(Iterable<Bu18WebPreNoticeDTO> prenotices) {
try (InputStream template = new ClassPathResource("template/seoul-ntris-prenotice.xlsx").getInputStream();) {
return new XLSWriter().worksheet(0).cell(2, 9)
return new XLSWriter().template(template).worksheet(0).cell(2, 9)
.values(prenotices, prenotice -> List.of(new Object[] {
prenotice.getNapId(),
prenotice.getNapNm(),

Loading…
Cancel
Save