|
|
|
|
@ -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(),
|
|
|
|
|
|