diff --git a/src/main/java/cokr/xit/interfaces/sntris/service/bean/SntrisBean.java b/src/main/java/cokr/xit/interfaces/sntris/service/bean/SntrisBean.java index 0609e60..864e014 100644 --- a/src/main/java/cokr/xit/interfaces/sntris/service/bean/SntrisBean.java +++ b/src/main/java/cokr/xit/interfaces/sntris/service/bean/SntrisBean.java @@ -72,26 +72,27 @@ 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[] { - blankIfEmpty(prenotice.getNapId()), - blankIfEmpty(prenotice.getNapNm()), - blankIfEmpty(prenotice.getJukbalTarget()), - prenotice.getTaxAmt(), - 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()) + blankIfEmpty(prenotice.getNapId()), // 주민번호 + blankIfEmpty(prenotice.getNapNm()), // 납세자명 + blankIfEmpty(prenotice.getJukbalTarget()), // 위반내용 + prenotice.getTaxAmt(), // 부과예정금액 + "", + 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("과태료-수기등록-" + dateFormats.format("yyyyMMdd-HHmmss", new Date()) + ".xlsx");