diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java index ec641baa..5e947423 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java @@ -113,12 +113,13 @@ public class Crdn02Controller extends ApplicationController { .setFilename("검사자료 목록.xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value("검사자료 목록", XLSWriter.Styler.CENTER) + .value("검사자료 목록", center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); @@ -128,23 +129,23 @@ public class Crdn02Controller extends ApplicationController { BiFunction getValue = (titleNm, nothing) -> { switch(titleNm) { case "단속일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT); - case "자료출처": return xlsx.style("CRDN_INPT_SE_NM", XLSWriter.Styler.CENTER); + case "자료출처": return xlsx.style("CRDN_INPT_SE_NM", center); case "차량번호": return "VHRNO"; - case "처리상태": return xlsx.style("CRDN_STTS_NM", XLSWriter.Styler.CENTER); + case "처리상태": return xlsx.style("CRDN_STTS_NM", center); case "단속장소": return "CRDN_PLC"; - case "사진매수": return xlsx.style("ATCH_FILE_CNT", XLSWriter.Styler.CENTER); - case "위반건수": return xlsx.style("CRDN_CNT", XLSWriter.Styler.CENTER); - case "단속건수": return xlsx.style("CRDN_CNT", XLSWriter.Styler.CENTER); + case "사진매수": return xlsx.style("ATCH_FILE_CNT", center); + case "위반건수": return xlsx.style("CRDN_CNT", center); + case "단속건수": return xlsx.style("CRDN_CNT", center); case "검사결과": return "INSP_RSLT"; - case "처리방법": return xlsx.style("PRCS_MTHD", XLSWriter.Styler.CENTER); - case "위반동": return xlsx.style("CRDN_STDG_NM", XLSWriter.Styler.CENTER); - case "단속동": return xlsx.style("CRDN_STDG_NM", XLSWriter.Styler.CENTER); + case "처리방법": return xlsx.style("PRCS_MTHD", center); + case "위반동": return xlsx.style("CRDN_STDG_NM", center); + case "단속동": return xlsx.style("CRDN_STDG_NM", center); case "원금액": return xlsx.style("FFNLG_CRDN_AMT", numeric); case "감경금액": return xlsx.style("ADVNTCE_AMT", numeric); case "금액": return xlsx.style("FFNLG_CRDN_AMT", numeric); - case "단속조": return xlsx.style("TEAM_NM", XLSWriter.Styler.CENTER); + case "단속조": return xlsx.style("TEAM_NM", center); case "성명": return "RTPYR_NM"; - case "주민번호": return xlsx.style("RTPYR_NO", XLSWriter.Styler.CENTER); + case "주민번호": return xlsx.style("RTPYR_NO", center); } return ""; }; diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java index 302ba5df..1e1fa98c 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java @@ -99,12 +99,13 @@ public class Crdn03Controller extends ApplicationController { .setFilename("표지정보미확인자료 목록.xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value("표지정보미확인자료 목록", XLSWriter.Styler.CENTER) + .value("표지정보미확인자료 목록", center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); @@ -113,12 +114,12 @@ public class Crdn03Controller extends ApplicationController { BiFunction getValue = (titleNm, nothing) -> { switch(titleNm) { - case "자료출처": return xlsx.style("CRDN_INPT_SE_NM", XLSWriter.Styler.CENTER); + case "자료출처": return xlsx.style("CRDN_INPT_SE_NM", center); case "위반일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT); case "차량번호": return "VHRNO"; - case "법정동": return xlsx.style("CRDN_STDG_NM", XLSWriter.Styler.CENTER); + case "법정동": return xlsx.style("CRDN_STDG_NM", center); case "잔액": return xlsx.style("BLNC", numeric); - case "사진건수": return xlsx.style("ATCH_FILE_CNT", XLSWriter.Styler.CENTER); + case "사진건수": return xlsx.style("ATCH_FILE_CNT", center); case "발행번호": return "CRDN_SN"; } return ""; diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java index 00ab2b93..3a98a215 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java @@ -106,12 +106,13 @@ public class Crdn06Controller extends ApplicationController { .setFilename("단속자료 목록.xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value("단속자료 목록", XLSWriter.Styler.CENTER) + .value("단속자료 목록", center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); @@ -120,16 +121,16 @@ public class Crdn06Controller extends ApplicationController { BiFunction getValue = (titleNm, nothing) -> { switch(titleNm) { - case "자료출처": return xlsx.style("CRDN_INPT_SE_NM", XLSWriter.Styler.CENTER); + case "자료출처": return xlsx.style("CRDN_INPT_SE_NM", center); case "차량번호": return "VHRNO"; case "위반일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT); case "단속장소": return "CRDN_PLC"; case "체납액": return ""; - case "사진건수": return xlsx.style("ATCH_FILE_CNT", XLSWriter.Styler.CENTER); + case "사진건수": return xlsx.style("ATCH_FILE_CNT", center); case "스티커번호": return "CRDN_SN"; - case "장애차량확인": return xlsx.style("PARKNG_PSBLTY_RSLT_NM", XLSWriter.Styler.CENTER); - case "처리상태": return xlsx.style("CRDN_STTS_NM", XLSWriter.Styler.CENTER); - case "제외사유": return xlsx.style("LEVY_EXCL_RSN_NM", XLSWriter.Styler.CENTER); + case "장애차량확인": return xlsx.style("PARKNG_PSBLTY_RSLT_NM", center); + case "처리상태": return xlsx.style("CRDN_STTS_NM", center); + case "제외사유": return xlsx.style("LEVY_EXCL_RSN_NM", center); case "제외처리일자": return xlsx.format(o -> xlsx.str2date(o.get("LEVY_EXCL_YMD"))).style(dateYMD); case "제외내역": return "LEVY_EXCL_ETC_CN"; } diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java index 046f5607..083c135c 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn08Controller.java @@ -96,12 +96,13 @@ public class Crdn08Controller extends ApplicationController { .setFilename("면제차량 목록.xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value("면제차량 목록", XLSWriter.Styler.CENTER) + .value("면제차량 목록", center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java index 67653ca8..ee0503d1 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc01Controller.java @@ -116,12 +116,13 @@ public class Cvlc01Controller extends ApplicationController { .setFilename("민원접수자료 목록.xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value("민원접수자료 목록", XLSWriter.Styler.CENTER) + .value("민원접수자료 목록", center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); @@ -130,18 +131,18 @@ public class Cvlc01Controller extends ApplicationController { BiFunction getValue = (titleNm, nothing) -> { switch(titleNm) { - case "접수번호": return xlsx.style("CVLCPT_RCPT_NO", XLSWriter.Styler.CENTER); - case "목록번호": return xlsx.style("CVLCPT_LIST_NO", XLSWriter.Styler.CENTER); - case "등록구분": return xlsx.style("CRDN_REG_SE_NM", XLSWriter.Styler.CENTER); - case "신고자": return xlsx.style("CVLCPT_APLCNT_NM", XLSWriter.Styler.CENTER); - case "담당자" : return xlsx.style("CVLCPT_PRCS_PIC_NM", XLSWriter.Styler.CENTER); - case "담당자전화번호": return xlsx.style("CVLCPT_PRCS_PIC_TELNO", XLSWriter.Styler.CENTER); + case "접수번호": return xlsx.style("CVLCPT_RCPT_NO", center); + case "목록번호": return xlsx.style("CVLCPT_LIST_NO", center); + case "등록구분": return xlsx.style("CRDN_REG_SE_NM", center); + case "신고자": return xlsx.style("CVLCPT_APLCNT_NM", center); + case "담당자" : return xlsx.style("CVLCPT_PRCS_PIC_NM", center); + case "담당자전화번호": return xlsx.style("CVLCPT_PRCS_PIC_TELNO", center); case "접수일자": return xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD); case "처리기한": return xlsx.format(o -> xlsx.str2datetime(o.get("CVLCPT_PRCS_PRNMNT_DT"))).style(dateDT); case "위반일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT); - case "위반내용": return xlsx.style("VLTN_ARTCL", XLSWriter.Styler.CENTER); + case "위반내용": return xlsx.style("VLTN_ARTCL", center); case "차량번호": return "VHRNO"; - case "사진건수": return xlsx.style("ATCH_FILE_CNT", XLSWriter.Styler.CENTER); + case "사진건수": return xlsx.style("ATCH_FILE_CNT", center); } return ""; diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java index 54a95123..c17c28ac 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc02Controller.java @@ -105,12 +105,13 @@ public class Cvlc02Controller extends ApplicationController { .setFilename("민원답변대상자료 목록.xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value("민원답변대상자료 목록", XLSWriter.Styler.CENTER) + .value("민원답변대상자료 목록", center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); @@ -119,17 +120,17 @@ public class Cvlc02Controller extends ApplicationController { BiFunction getValue = (titleNm, nothing) -> { switch(titleNm) { - case "접수번호": return xlsx.style("CVLCPT_RCPT_NO", XLSWriter.Styler.CENTER); - case "목록번호": return xlsx.style("CVLCPT_LIST_NO", XLSWriter.Styler.CENTER); - case "신고자": return xlsx.style("CVLCPT_APLCNT_NM", XLSWriter.Styler.CENTER); - case "담당자" : return xlsx.style("CVLCPT_PRCS_PIC_NM", XLSWriter.Styler.CENTER); - case "담당자전화번호": return xlsx.style("CVLCPT_PRCS_PIC_TELNO", XLSWriter.Styler.CENTER); + case "접수번호": return xlsx.style("CVLCPT_RCPT_NO", center); + case "목록번호": return xlsx.style("CVLCPT_LIST_NO", center); + case "신고자": return xlsx.style("CVLCPT_APLCNT_NM", center); + case "담당자" : return xlsx.style("CVLCPT_PRCS_PIC_NM", center); + case "담당자전화번호": return xlsx.style("CVLCPT_PRCS_PIC_TELNO", center); case "접수일자": return xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD); case "처리기한": return xlsx.format(o -> xlsx.str2datetime(o.get("CVLCPT_PRCS_PRNMNT_DT"))).style(dateDT); case "위반일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT); - case "위반내용": return xlsx.style("VLTN_ARTCL", XLSWriter.Styler.CENTER); + case "위반내용": return xlsx.style("VLTN_ARTCL", center); case "차량번호": return "VHRNO"; - case "서손/계고사유": return xlsx.style("LEVY_EXCL_RSN_NM", XLSWriter.Styler.CENTER); + case "서손/계고사유": return xlsx.style("LEVY_EXCL_RSN_NM", center); case "특기사항": return "ETC_CN"; } return ""; diff --git a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java index 6208171d..53d2a727 100644 --- a/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java +++ b/src/main/java/cokr/xit/fims/cvlc/web/Cvlc03Controller.java @@ -96,12 +96,13 @@ public class Cvlc03Controller extends ApplicationController { .setFilename("민원자료 목록.xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value("민원자료 목록", XLSWriter.Styler.CENTER) + .value("민원자료 목록", center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); @@ -110,19 +111,19 @@ public class Cvlc03Controller extends ApplicationController { BiFunction getValue = (titleNm, nothing) -> { switch(titleNm) { - case "접수번호": return xlsx.style("CVLCPT_RCPT_NO", XLSWriter.Styler.CENTER); - case "목록번호": return xlsx.style("CVLCPT_LIST_NO", XLSWriter.Styler.CENTER); - case "등록구분": return xlsx.style("CRDN_REG_SE_NM", XLSWriter.Styler.CENTER); - case "신고자": return xlsx.style("CVLCPT_APLCNT_NM", XLSWriter.Styler.CENTER); - case "담당자" : return xlsx.style("CVLCPT_PRCS_PIC_NM", XLSWriter.Styler.CENTER); - case "담당자전화번호": return xlsx.style("CVLCPT_PRCS_PIC_TELNO", XLSWriter.Styler.CENTER); + case "접수번호": return xlsx.style("CVLCPT_RCPT_NO", center); + case "목록번호": return xlsx.style("CVLCPT_LIST_NO", center); + case "등록구분": return xlsx.style("CRDN_REG_SE_NM", center); + case "신고자": return xlsx.style("CVLCPT_APLCNT_NM", center); + case "담당자" : return xlsx.style("CVLCPT_PRCS_PIC_NM", center); + case "담당자전화번호": return xlsx.style("CVLCPT_PRCS_PIC_TELNO", center); case "접수일자": return xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD); case "처리기한": return xlsx.format(o -> xlsx.str2datetime(o.get("CVLCPT_PRCS_PRNMNT_DT"))).style(dateDT); case "위반일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT); - case "위반내용": return xlsx.style("VLTN_ARTCL", XLSWriter.Styler.CENTER); + case "위반내용": return xlsx.style("VLTN_ARTCL", center); case "차량번호": return "VHRNO"; - case "사진건수": return xlsx.style("ATCH_FILE_CNT", XLSWriter.Styler.CENTER); - case "서손/계고사유": return xlsx.style("LEVY_EXCL_RSN_NM", XLSWriter.Styler.CENTER); + case "사진건수": return xlsx.style("ATCH_FILE_CNT", center); + case "서손/계고사유": return xlsx.style("LEVY_EXCL_RSN_NM", center); case "특기사항": return "ETC_CN"; } return ""; diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java index dd4fc757..0f2c5e68 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java @@ -188,43 +188,44 @@ public class Sprt01Controller extends ApplicationController { .setFilename(fileName+".xlsx") .worksheet(0); List headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx); + CellStyle center = xlsx.cellStyle(Styler.CENTER); CellStyle numeric = xlsx.n_nn0(); CellStyle dateYMD = xlsx.yyyy_mm_dd(); CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); xlsx.cell(0, 0) - .value(fileName, XLSWriter.Styler.CENTER) + .value(fileName, center) .merge(0, titles.size()-1) .cell(3, 0) .rowValues(CmmnUtil.mergeListByIndex(titles, headerStylers)); BiFunction getValue = (titleNm, nothing) -> { switch(titleNm) { - case "시군구명" : return xlsx.style("SGG_NM", XLSWriter.Styler.CENTER); - case "과태료명" : return xlsx.style("TASK_SE_NM", XLSWriter.Styler.CENTER); - case "단속입력구분" : return xlsx.style("CRDN_INPT_SE_NM", XLSWriter.Styler.CENTER); + case "시군구명" : return xlsx.style("SGG_NM", center); + case "과태료명" : return xlsx.style("TASK_SE_NM", center); + case "단속입력구분" : return xlsx.style("CRDN_INPT_SE_NM", center); case "단속일시" : return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT); - case "신고자명" : return xlsx.style("CVLCPT_APLCNT_NM", XLSWriter.Styler.CENTER); - case "민원접수번호" : return xlsx.style("CVLCPT_RCPT_NO", XLSWriter.Styler.CENTER); + case "신고자명" : return xlsx.style("CVLCPT_APLCNT_NM", center); + case "민원접수번호" : return xlsx.style("CVLCPT_RCPT_NO", center); case "민원접수일자" : return xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD); - case "민원목록번호" : return xlsx.style("CVLCPT_LIST_NO", XLSWriter.Styler.CENTER); + case "민원목록번호" : return xlsx.style("CVLCPT_LIST_NO", center); case "단속차량번호" : return "VHRNO"; case "대체차량번호" : return "RPM_SZR_VHRNO"; - case "사진건수" : return xlsx.style("ATCH_FILE_CNT", XLSWriter.Styler.CENTER); - case "차량확인" : return xlsx.style("PARKNG_PSBLTY_RSLT_NM", XLSWriter.Styler.CENTER); - case "납부자명" : return xlsx.style("RTPYR_NM", XLSWriter.Styler.CENTER); - case "납부자번호" : return xlsx.style("RTPYR_NO", XLSWriter.Styler.CENTER); - case "처리상태" : return xlsx.style("CRDN_STTS_NM", XLSWriter.Styler.CENTER); + case "사진건수" : return xlsx.style("ATCH_FILE_CNT", center); + case "차량확인" : return xlsx.style("PARKNG_PSBLTY_RSLT_NM", center); + case "납부자명" : return xlsx.style("RTPYR_NM", center); + case "납부자번호" : return xlsx.style("RTPYR_NO", center); + case "처리상태" : return xlsx.style("CRDN_STTS_NM", center); case "제외사유" : return "LEVY_EXCL_RSN_NM"; case "제외일자" : return xlsx.format(o -> xlsx.str2date(o.get("LEVY_EXCL_YMD"))).style(dateYMD); case "기타사항" : return "ETC_CN"; - case "고지번호" : return xlsx.style("GOJI_NO", XLSWriter.Styler.CENTER); + case "고지번호" : return xlsx.style("GOJI_NO", center); case "처리일자" : return xlsx.format(o -> xlsx.str2date(o.get("CRDN_STTS_CHG_YMD"))).style(dateYMD); case "단속장소" : return "CRDN_PLC"; - case "단속구분" : return xlsx.style("CRDN_SE_NM", XLSWriter.Styler.CENTER); - case "의견진술여부" : return xlsx.style("OPNN_SBMSN_YN_NM", XLSWriter.Styler.CENTER); + case "단속구분" : return xlsx.style("CRDN_SE_NM", center); + case "의견진술여부" : return xlsx.style("OPNN_SBMSN_YN_NM", center); case "의견진술기한" : return xlsx.format(o -> xlsx.str2date(o.get("ADVNTCE_DUDT_YMD"))).style(dateYMD); - case "견인여부" : return xlsx.style("TOWNG_YN_NM", XLSWriter.Styler.CENTER); + case "견인여부" : return xlsx.style("TOWNG_YN_NM", center); case "압류일자" : return xlsx.format(o -> xlsx.str2date(o.get("SZR_YMD"))).style(dateYMD); case "압류해제일자" : return xlsx.format(o -> xlsx.str2date(o.get("SZR_RMV_YMD"))).style(dateYMD); case "잔액" : return xlsx.style("SUM_AMT", numeric); @@ -234,16 +235,16 @@ public class Sprt01Controller extends ApplicationController { case "납부기한" : return xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD"))).style(dateYMD); case "납기후일자" : return xlsx.format(o -> xlsx.str2date(o.get("DUDT_AFTR_YMD"))).style(dateYMD); case "납기후금액" : return xlsx.style("DUDT_AFTR_AMT", numeric); - case "가상계좌번호" : return xlsx.style("VR_ACTNO", XLSWriter.Styler.CENTER); - case "전자납부번호" : return xlsx.style("EPAYNO", XLSWriter.Styler.CENTER); - case "수납유형" : return xlsx.style("PAY_MTHD_SE_NM", XLSWriter.Styler.CENTER); + case "가상계좌번호" : return xlsx.style("VR_ACTNO", center); + case "전자납부번호" : return xlsx.style("EPAYNO", center); + case "수납유형" : return xlsx.style("PAY_MTHD_SE_NM", center); case "수납일자" : return xlsx.format(o -> xlsx.str2date(o.get("RCVMT_YMD"))).style(dateYMD); case "수납금액" : return xlsx.style("RCVMT_AMT", numeric); case "수납본세" : return xlsx.style("RCVMT_PCPTAX", numeric); case "수납가산금" : return xlsx.style("RCVMT_ADAMT", numeric); - case "단속등록구분" : return xlsx.style("CRDN_REG_SE_NM", XLSWriter.Styler.CENTER); + case "단속등록구분" : return xlsx.style("CRDN_REG_SE_NM", center); case "납부자주소" : return "RTPYR_FULL_ADDR"; - case "거주상태" : return xlsx.style("RTPYR_STTS_NM", XLSWriter.Styler.CENTER); + case "거주상태" : return xlsx.style("RTPYR_STTS_NM", center); case "차량번호": return "VHRNO"; case "성명": return "RTPYR_NM";