|
|
@ -189,6 +189,8 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
.worksheet(0);
|
|
|
|
.worksheet(0);
|
|
|
|
List<Styler> headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx);
|
|
|
|
List<Styler> headerStylers = CmmnUtil.makeHeadersByDiffrentWidths(widths, xlsx);
|
|
|
|
CellStyle numeric = xlsx.n_nn0();
|
|
|
|
CellStyle numeric = xlsx.n_nn0();
|
|
|
|
|
|
|
|
CellStyle dateYMD = xlsx.yyyy_mm_dd();
|
|
|
|
|
|
|
|
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss();
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value(fileName, XLSWriter.Styler.CENTER)
|
|
|
|
.value(fileName, XLSWriter.Styler.CENTER)
|
|
|
@ -201,10 +203,10 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
case "시군구명": return "SGG_NM";
|
|
|
|
case "시군구명": return "SGG_NM";
|
|
|
|
case "과태료명": return "TASK_SE_NM";
|
|
|
|
case "과태료명": return "TASK_SE_NM";
|
|
|
|
case "단속입력구분": return "CRDN_INPT_SE_NM";
|
|
|
|
case "단속입력구분": return "CRDN_INPT_SE_NM";
|
|
|
|
case "단속일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM")));
|
|
|
|
case "단속일시": return xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT);
|
|
|
|
case "신고자명": return "CVLCPT_APLCNT_NM";
|
|
|
|
case "신고자명": return "CVLCPT_APLCNT_NM";
|
|
|
|
case "민원접수번호": return "CVLCPT_RCPT_NO";
|
|
|
|
case "민원접수번호": return "CVLCPT_RCPT_NO";
|
|
|
|
case "민원접수일자": return xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD")));
|
|
|
|
case "민원접수일자": return xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD);
|
|
|
|
case "민원목록번호": return "CVLCPT_LIST_NO";
|
|
|
|
case "민원목록번호": return "CVLCPT_LIST_NO";
|
|
|
|
case "단속차량번호": return "VHRNO";
|
|
|
|
case "단속차량번호": return "VHRNO";
|
|
|
|
case "대체차량번호": return "RPM_SZR_VHRNO";
|
|
|
|
case "대체차량번호": return "RPM_SZR_VHRNO";
|
|
|
@ -214,28 +216,28 @@ public class Sprt01Controller extends ApplicationController {
|
|
|
|
case "납부자번호": return "RTPYR_NO";
|
|
|
|
case "납부자번호": return "RTPYR_NO";
|
|
|
|
case "처리상태": return "CRDN_STTS_NM";
|
|
|
|
case "처리상태": return "CRDN_STTS_NM";
|
|
|
|
case "제외사유": return "LEVY_EXCL_RSN_NM";
|
|
|
|
case "제외사유": return "LEVY_EXCL_RSN_NM";
|
|
|
|
case "제외일자": return xlsx.format(o -> xlsx.str2date(o.get("LEVY_EXCL_YMD")));
|
|
|
|
case "제외일자": return xlsx.format(o -> xlsx.str2date(o.get("LEVY_EXCL_YMD"))).style(dateYMD);
|
|
|
|
case "기타사항": return "ETC_CN";
|
|
|
|
case "기타사항": return "ETC_CN";
|
|
|
|
case "고지번호": return "GOJI_NO";
|
|
|
|
case "고지번호": return "GOJI_NO";
|
|
|
|
case "처리일자": return xlsx.format(o -> xlsx.str2date(o.get("CRDN_STTS_CHG_YMD")));
|
|
|
|
case "처리일자": return xlsx.format(o -> xlsx.str2date(o.get("CRDN_STTS_CHG_YMD"))).style(dateYMD);
|
|
|
|
case "단속장소": return "CRDN_PLC";
|
|
|
|
case "단속장소": return "CRDN_PLC";
|
|
|
|
case "단속구분": return "CRDN_SE_NM";
|
|
|
|
case "단속구분": return "CRDN_SE_NM";
|
|
|
|
case "의견진술여부": return "OPNN_SBMSN_YN_NM";
|
|
|
|
case "의견진술여부": return "OPNN_SBMSN_YN_NM";
|
|
|
|
case "의견진술기한": return xlsx.format(o -> xlsx.str2date(o.get("ADVNTCE_DUDT_YMD")));
|
|
|
|
case "의견진술기한": return xlsx.format(o -> xlsx.str2date(o.get("ADVNTCE_DUDT_YMD"))).style(dateYMD);
|
|
|
|
case "견인여부": return "TOWNG_YN_NM";
|
|
|
|
case "견인여부": return "TOWNG_YN_NM";
|
|
|
|
case "압류일자": return xlsx.format(o -> xlsx.str2date(o.get("SZR_YMD")));
|
|
|
|
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")));
|
|
|
|
case "압류해제일자": return xlsx.format(o -> xlsx.str2date(o.get("SZR_RMV_YMD"))).style(dateYMD);
|
|
|
|
case "잔액": return xlsx.style("SUM_AMT", numeric);
|
|
|
|
case "잔액": return xlsx.style("SUM_AMT", numeric);
|
|
|
|
case "부과금액": return xlsx.style("LEVY_AMT", numeric);
|
|
|
|
case "부과금액": return xlsx.style("LEVY_AMT", numeric);
|
|
|
|
case "본세": return xlsx.style("LEVY_PCPTAX", numeric);
|
|
|
|
case "본세": return xlsx.style("LEVY_PCPTAX", numeric);
|
|
|
|
case "가산금": return xlsx.style("LEVY_ADAMT", numeric);
|
|
|
|
case "가산금": return xlsx.style("LEVY_ADAMT", numeric);
|
|
|
|
case "납부기한": return xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD")));
|
|
|
|
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")));
|
|
|
|
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("DUDT_AFTR_AMT", numeric);
|
|
|
|
case "가상계좌번호": return "VR_ACTNO";
|
|
|
|
case "가상계좌번호": return "VR_ACTNO";
|
|
|
|
case "전자납부번호": return "EPAYNO";
|
|
|
|
case "전자납부번호": return "EPAYNO";
|
|
|
|
case "수납유형": return "PAY_MTHD_SE_NM";
|
|
|
|
case "수납유형": return "PAY_MTHD_SE_NM";
|
|
|
|
case "수납일자": return xlsx.format(o -> xlsx.str2date(o.get("RCVMT_YMD")));
|
|
|
|
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_AMT", numeric);
|
|
|
|
case "수납본세": return xlsx.style("RCVMT_PCPTAX", numeric);
|
|
|
|
case "수납본세": return xlsx.style("RCVMT_PCPTAX", numeric);
|
|
|
|
case "수납가산금": return xlsx.style("RCVMT_ADAMT", numeric);
|
|
|
|
case "수납가산금": return xlsx.style("RCVMT_ADAMT", numeric);
|
|
|
|