|
|
|
|
@ -46,26 +46,26 @@ public class SntrisBean extends AbstractBean {
|
|
|
|
|
try (InputStream template = new ClassPathResource("template/seoul-ntris-prenotice.xlsx").getInputStream();) {
|
|
|
|
|
return new XLSWriter().template(template).worksheet(0).cell(2, 9)
|
|
|
|
|
.values(prenotices, prenotice -> List.of(new Object[] {
|
|
|
|
|
prenotice.getNapId(),
|
|
|
|
|
prenotice.getNapNm(),
|
|
|
|
|
prenotice.getJukbalTarget(),
|
|
|
|
|
blankIfEmpty(prenotice.getNapId()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapNm()),
|
|
|
|
|
blankIfEmpty(prenotice.getJukbalTarget()),
|
|
|
|
|
prenotice.getTaxAmt(),
|
|
|
|
|
prenotice.getSendYmd(),
|
|
|
|
|
prenotice.getSubmitYmd(),
|
|
|
|
|
prenotice.getJukbalDtlAddr(),
|
|
|
|
|
prenotice.getJukbalYmdHs(),
|
|
|
|
|
prenotice.getNapMobilNo(),
|
|
|
|
|
prenotice.getNapTelNo(),
|
|
|
|
|
prenotice.getLastWorkId(),
|
|
|
|
|
prenotice.getJukbalTelNo(),
|
|
|
|
|
prenotice.getBigo(),
|
|
|
|
|
prenotice.getNapDzipCd(),
|
|
|
|
|
prenotice.getNapDzipAddr(),
|
|
|
|
|
prenotice.getNapDdtlAddr(),
|
|
|
|
|
prenotice.getNapDrefAddr(),
|
|
|
|
|
prenotice.getNapZipCd(),
|
|
|
|
|
prenotice.getNapZipAddr(),
|
|
|
|
|
prenotice.getNapDtlAddr()
|
|
|
|
|
blankIfEmpty(prenotice.getSendYmd()),
|
|
|
|
|
blankIfEmpty(prenotice.getSubmitYmd()),
|
|
|
|
|
blankIfEmpty(prenotice.getJukbalDtlAddr()),
|
|
|
|
|
blankIfEmpty(prenotice.getJukbalYmdHs()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapMobilNo()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapTelNo()),
|
|
|
|
|
blankIfEmpty(prenotice.getLastWorkId()),
|
|
|
|
|
blankIfEmpty(prenotice.getJukbalTelNo()),
|
|
|
|
|
blankIfEmpty(prenotice.getBigo()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapDzipCd()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapDzipAddr()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapDdtlAddr()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapDrefAddr()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapZipCd()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapZipAddr()),
|
|
|
|
|
blankIfEmpty(prenotice.getNapDtlAddr())
|
|
|
|
|
}))
|
|
|
|
|
.getDownloadable()
|
|
|
|
|
.setFilename("서울시-세외수입-수기등록.xlsx");
|
|
|
|
|
|