|
|
@ -1,7 +1,7 @@
|
|
|
|
package cokr.xit.fims.sndb.web;
|
|
|
|
package cokr.xit.fims.sndb.web;
|
|
|
|
|
|
|
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
@ -10,8 +10,6 @@ import javax.annotation.Resource;
|
|
|
|
import org.apache.poi.ss.usermodel.CellStyle;
|
|
|
|
import org.apache.poi.ss.usermodel.CellStyle;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.code.CommonCode;
|
|
|
|
import cokr.xit.base.code.CommonCode;
|
|
|
|
import cokr.xit.base.file.xls.XLSWriter;
|
|
|
|
import cokr.xit.base.file.xls.XLSWriter;
|
|
|
|
import cokr.xit.base.file.xls.XLSWriter.CellDef;
|
|
|
|
import cokr.xit.base.file.xls.XLSWriter.CellDef;
|
|
|
@ -166,7 +164,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("계고장발송대상" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("계고장발송대상" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -180,38 +178,38 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngService.getWrngTrgtList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngService.getWrngTrgtList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("업무구분", xlsx.style("TASK_SE_NM", center))
|
|
|
|
valueMap.put("업무구분", xlsx.style("TASK_SE_NM", center));
|
|
|
|
, Map.entry("계고일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_EXCL_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("계고일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_EXCL_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("계고사유", "LEVY_EXCL_RSN_NM")
|
|
|
|
valueMap.put("계고사유", "LEVY_EXCL_RSN_NM");
|
|
|
|
, Map.entry("기타내용", "ETC_CN")
|
|
|
|
valueMap.put("기타내용", "ETC_CN");
|
|
|
|
, Map.entry("민원신청번호", xlsx.style("CVLCPT_APLY_NO", center))
|
|
|
|
valueMap.put("민원신청번호", xlsx.style("CVLCPT_APLY_NO", center));
|
|
|
|
, Map.entry("민원접수번호", xlsx.style("CVLCPT_RCPT_NO", center))
|
|
|
|
valueMap.put("민원접수번호", xlsx.style("CVLCPT_RCPT_NO", center));
|
|
|
|
, Map.entry("민원접수일자", xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("민원접수일자", xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("민원처리담당자", xlsx.style("CVLCPT_PRCS_PIC_NM", center))
|
|
|
|
valueMap.put("민원처리담당자", xlsx.style("CVLCPT_PRCS_PIC_NM", center));
|
|
|
|
, Map.entry("민원처리결과", xlsx.style("CVLCPT_PRCS_NM", center))
|
|
|
|
valueMap.put("민원처리결과", xlsx.style("CVLCPT_PRCS_NM", center));
|
|
|
|
, Map.entry("단속일시", xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT))
|
|
|
|
valueMap.put("단속일시", xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT));
|
|
|
|
, Map.entry("차량번호", "VHRNO")
|
|
|
|
valueMap.put("차량번호", "VHRNO");
|
|
|
|
, Map.entry("위반항목", "VLTN_ARTCL")
|
|
|
|
valueMap.put("위반항목", "VLTN_ARTCL");
|
|
|
|
, Map.entry("단속법정동", "CRDN_STDG_NM")
|
|
|
|
valueMap.put("단속법정동", "CRDN_STDG_NM");
|
|
|
|
, Map.entry("단속장소", "CRDN_PLC")
|
|
|
|
valueMap.put("단속장소", "CRDN_PLC");
|
|
|
|
, Map.entry("상세단속장소", "DTL_CRDN_PLC")
|
|
|
|
valueMap.put("상세단속장소", "DTL_CRDN_PLC");
|
|
|
|
, Map.entry("단속금액", xlsx.style("FFNLG_CRDN_AMT", numeric))
|
|
|
|
valueMap.put("단속금액", xlsx.style("FFNLG_CRDN_AMT", numeric));
|
|
|
|
, Map.entry("처리상태", "CRDN_STTS_NM")
|
|
|
|
valueMap.put("처리상태", "CRDN_STTS_NM");
|
|
|
|
, Map.entry("납부자명", "RTPYR_NM")
|
|
|
|
valueMap.put("납부자명", "RTPYR_NM");
|
|
|
|
, Map.entry("납부자생일", xlsx.style("RTPYR_BRDT_MASK", center))
|
|
|
|
valueMap.put("납부자생일", xlsx.style("RTPYR_BRDT_MASK", center));
|
|
|
|
, Map.entry("우편번호", xlsx.style("ZIP", center))
|
|
|
|
valueMap.put("우편번호", xlsx.style("ZIP", center));
|
|
|
|
, Map.entry("주소", "ADDR")
|
|
|
|
valueMap.put("주소", "ADDR");
|
|
|
|
, Map.entry("상세주소", "DTL_ADDR")
|
|
|
|
valueMap.put("상세주소", "DTL_ADDR");
|
|
|
|
, Map.entry("단속특별구역", xlsx.style("CRDN_SPAREA_NM", center))
|
|
|
|
valueMap.put("단속특별구역", xlsx.style("CRDN_SPAREA_NM", center));
|
|
|
|
, Map.entry("사용연료", xlsx.style("USE_FUEL_NM", center))
|
|
|
|
valueMap.put("사용연료", xlsx.style("USE_FUEL_NM", center));
|
|
|
|
, Map.entry("주차가능여부", xlsx.style("PARKNG_PSBLTY_RSLT_NM", center))
|
|
|
|
valueMap.put("주차가능여부", xlsx.style("PARKNG_PSBLTY_RSLT_NM", center));
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("계고장 발송 대상", center)
|
|
|
|
.value("계고장 발송 대상", center)
|
|
|
@ -313,7 +311,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("계고장발송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("계고장발송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -327,22 +325,22 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngService.getWrngSndngList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngService.getWrngSndngList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("업무구분", xlsx.style("TASK_SE_NM", center))
|
|
|
|
valueMap.put("업무구분", xlsx.style("TASK_SE_NM", center));
|
|
|
|
, Map.entry("등록구분", xlsx.style("SNDNG_REG_SE_NM", center))
|
|
|
|
valueMap.put("등록구분", xlsx.style("SNDNG_REG_SE_NM", center));
|
|
|
|
, Map.entry("위반항목", "VLTN_ARTCL")
|
|
|
|
valueMap.put("위반항목", "VLTN_ARTCL");
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("총건수", xlsx.style("TNOCS", numeric))
|
|
|
|
valueMap.put("총건수", xlsx.style("TNOCS", numeric));
|
|
|
|
, Map.entry("총금액", xlsx.style("GRAMT", numeric))
|
|
|
|
valueMap.put("총금액", xlsx.style("GRAMT", numeric));
|
|
|
|
, Map.entry("문서번호", "DOC_NO")
|
|
|
|
valueMap.put("문서번호", "DOC_NO");
|
|
|
|
, Map.entry("제목", "TTL_NM")
|
|
|
|
valueMap.put("제목", "TTL_NM");
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("계고장 발송 현황", center)
|
|
|
|
.value("계고장 발송 현황", center)
|
|
|
@ -397,7 +395,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("계도장발송상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("계도장발송상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -411,31 +409,31 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngDtlService.getSndngDtlList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngDtlService.getSndngDtlList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center))
|
|
|
|
valueMap.put("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center));
|
|
|
|
, Map.entry("등기번호", xlsx.style("RG_NO", center))
|
|
|
|
valueMap.put("등기번호", xlsx.style("RG_NO", center));
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("성명", "RCPN_NM")
|
|
|
|
valueMap.put("성명", "RCPN_NM");
|
|
|
|
, Map.entry("우편번호", xlsx.style("RCPN_ZIP", center))
|
|
|
|
valueMap.put("우편번호", xlsx.style("RCPN_ZIP", center));
|
|
|
|
, Map.entry("주소", "RCPN_ADDR")
|
|
|
|
valueMap.put("주소", "RCPN_ADDR");
|
|
|
|
, Map.entry("상세주소", "RCPN_DTL_ADDR")
|
|
|
|
valueMap.put("상세주소", "RCPN_DTL_ADDR");
|
|
|
|
, Map.entry("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("배달시각", xlsx.style("DLVR_TM", center))
|
|
|
|
valueMap.put("배달시각", xlsx.style("DLVR_TM", center));
|
|
|
|
, Map.entry("미배달사유", "UNDLVR_RSN_NM")
|
|
|
|
valueMap.put("미배달사유", "UNDLVR_RSN_NM");
|
|
|
|
, Map.entry("수령인", "ACTL_RCPN_NM")
|
|
|
|
valueMap.put("수령인", "ACTL_RCPN_NM");
|
|
|
|
, Map.entry("수령인관계", "RCPN_REL_NM")
|
|
|
|
valueMap.put("수령인관계", "RCPN_REL_NM");
|
|
|
|
, Map.entry("단속일시", xlsx.style("CRDN_DT", center))
|
|
|
|
valueMap.put("단속일시", xlsx.style("CRDN_DT", center));
|
|
|
|
, Map.entry("차량번호", "VHRNO")
|
|
|
|
valueMap.put("차량번호", "VHRNO");
|
|
|
|
, Map.entry("단속법정동", "CRDN_STDG_NM")
|
|
|
|
valueMap.put("단속법정동", "CRDN_STDG_NM");
|
|
|
|
, Map.entry("단속장소", "CRDN_PLC")
|
|
|
|
valueMap.put("단속장소", "CRDN_PLC");
|
|
|
|
, Map.entry("과태료금액", xlsx.style("FFNLG_AMT", numeric))
|
|
|
|
valueMap.put("과태료금액", xlsx.style("FFNLG_AMT", numeric));
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("계도장 발송 상세", center)
|
|
|
|
.value("계도장 발송 상세", center)
|
|
|
@ -498,7 +496,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("사전통지발송대상" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("사전통지발송대상" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -512,36 +510,36 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngService.getAdvntceTrgtList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngService.getAdvntceTrgtList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("업무구분", xlsx.style("TASK_SE_NM", center))
|
|
|
|
valueMap.put("업무구분", xlsx.style("TASK_SE_NM", center));
|
|
|
|
, Map.entry("민원신청번호", xlsx.style("CVLCPT_APLY_NO", center))
|
|
|
|
valueMap.put("민원신청번호", xlsx.style("CVLCPT_APLY_NO", center));
|
|
|
|
, Map.entry("민원접수번호", xlsx.style("CVLCPT_RCPT_NO", center))
|
|
|
|
valueMap.put("민원접수번호", xlsx.style("CVLCPT_RCPT_NO", center));
|
|
|
|
, Map.entry("민원접수일자", xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("민원접수일자", xlsx.format(o -> xlsx.str2date(o.get("CVLCPT_RCPT_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("민원처리담당자", xlsx.style("CVLCPT_PRCS_PIC_NM", center))
|
|
|
|
valueMap.put("민원처리담당자", xlsx.style("CVLCPT_PRCS_PIC_NM", center));
|
|
|
|
, Map.entry("민원처리결과", xlsx.style("CVLCPT_PRCS_NM", center))
|
|
|
|
valueMap.put("민원처리결과", xlsx.style("CVLCPT_PRCS_NM", center));
|
|
|
|
, Map.entry("단속일시", xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT))
|
|
|
|
valueMap.put("단속일시", xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT));
|
|
|
|
, Map.entry("차량번호", "VHRNO")
|
|
|
|
valueMap.put("차량번호", "VHRNO");
|
|
|
|
, Map.entry("위반항목", "VLTN_ARTCL")
|
|
|
|
valueMap.put("위반항목", "VLTN_ARTCL");
|
|
|
|
, Map.entry("단속법정동", "CRDN_STDG_NM")
|
|
|
|
valueMap.put("단속법정동", "CRDN_STDG_NM");
|
|
|
|
, Map.entry("단속장소", "CRDN_PLC")
|
|
|
|
valueMap.put("단속장소", "CRDN_PLC");
|
|
|
|
, Map.entry("상세단속장소", "DTL_CRDN_PLC")
|
|
|
|
valueMap.put("상세단속장소", "DTL_CRDN_PLC");
|
|
|
|
, Map.entry("과태료금액", xlsx.style("FFNLG_AMT", numeric))
|
|
|
|
valueMap.put("과태료금액", xlsx.style("FFNLG_AMT", numeric));
|
|
|
|
, Map.entry("사전통지금액", xlsx.style("ADVNTCE_AMT", numeric))
|
|
|
|
valueMap.put("사전통지금액", xlsx.style("ADVNTCE_AMT", numeric));
|
|
|
|
, Map.entry("처리상태", "CRDN_STTS_NM")
|
|
|
|
valueMap.put("처리상태", "CRDN_STTS_NM");
|
|
|
|
, Map.entry("납부자명", "RTPYR_NM")
|
|
|
|
valueMap.put("납부자명", "RTPYR_NM");
|
|
|
|
, Map.entry("납부자생일", xlsx.style("RTPYR_BRDT_MASK", center))
|
|
|
|
valueMap.put("납부자생일", xlsx.style("RTPYR_BRDT_MASK", center));
|
|
|
|
, Map.entry("우편번호", xlsx.style("ZIP", center))
|
|
|
|
valueMap.put("우편번호", xlsx.style("ZIP", center));
|
|
|
|
, Map.entry("주소", "ADDR")
|
|
|
|
valueMap.put("주소", "ADDR");
|
|
|
|
, Map.entry("상세주소", "DTL_ADDR")
|
|
|
|
valueMap.put("상세주소", "DTL_ADDR");
|
|
|
|
, Map.entry("단속특별구역", xlsx.style("CRDN_SPAREA_NM", center))
|
|
|
|
valueMap.put("단속특별구역", xlsx.style("CRDN_SPAREA_NM", center));
|
|
|
|
, Map.entry("사용연료", xlsx.style("USE_FUEL_NM", center))
|
|
|
|
valueMap.put("사용연료", xlsx.style("USE_FUEL_NM", center));
|
|
|
|
, Map.entry("주차가능여부", xlsx.style("PARKNG_PSBLTY_RSLT_NM", center))
|
|
|
|
valueMap.put("주차가능여부", xlsx.style("PARKNG_PSBLTY_RSLT_NM", center));
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("사전통지 발송 대상", center)
|
|
|
|
.value("사전통지 발송 대상", center)
|
|
|
@ -648,7 +646,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("사전통지발송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("사전통지발송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -662,22 +660,22 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngService.getAdvntceSndngList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngService.getAdvntceSndngList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("업무구분", xlsx.style("TASK_SE_NM", center))
|
|
|
|
valueMap.put("업무구분", xlsx.style("TASK_SE_NM", center));
|
|
|
|
, Map.entry("등록구분", xlsx.style("SNDNG_REG_SE_NM", center))
|
|
|
|
valueMap.put("등록구분", xlsx.style("SNDNG_REG_SE_NM", center));
|
|
|
|
, Map.entry("위반항목", "VLTN_ARTCL")
|
|
|
|
valueMap.put("위반항목", "VLTN_ARTCL");
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("총건수", xlsx.style("TNOCS", numeric))
|
|
|
|
valueMap.put("총건수", xlsx.style("TNOCS", numeric));
|
|
|
|
, Map.entry("총금액", xlsx.style("GRAMT", numeric))
|
|
|
|
valueMap.put("총금액", xlsx.style("GRAMT", numeric));
|
|
|
|
, Map.entry("문서번호", "DOC_NO")
|
|
|
|
valueMap.put("문서번호", "DOC_NO");
|
|
|
|
, Map.entry("제목", "TTL_NM")
|
|
|
|
valueMap.put("제목", "TTL_NM");
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("사전통지 발송 현황", center)
|
|
|
|
.value("사전통지 발송 현황", center)
|
|
|
@ -732,7 +730,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("사전통지발송상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("사전통지발송상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -746,38 +744,38 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngDtlService.getSndngDtlList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngDtlService.getSndngDtlList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center))
|
|
|
|
valueMap.put("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center));
|
|
|
|
, Map.entry("등기번호", xlsx.style("RG_NO", center))
|
|
|
|
valueMap.put("등기번호", xlsx.style("RG_NO", center));
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("발송종료일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송종료일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("성명", "RCPN_NM")
|
|
|
|
valueMap.put("성명", "RCPN_NM");
|
|
|
|
, Map.entry("우편번호", xlsx.style("RCPN_ZIP", center))
|
|
|
|
valueMap.put("우편번호", xlsx.style("RCPN_ZIP", center));
|
|
|
|
, Map.entry("주소", "RCPN_ADDR")
|
|
|
|
valueMap.put("주소", "RCPN_ADDR");
|
|
|
|
, Map.entry("상세주소", "RCPN_DTL_ADDR")
|
|
|
|
valueMap.put("상세주소", "RCPN_DTL_ADDR");
|
|
|
|
, Map.entry("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("배달시각", xlsx.style("DLVR_TM", center))
|
|
|
|
valueMap.put("배달시각", xlsx.style("DLVR_TM", center));
|
|
|
|
, Map.entry("미배달사유", "UNDLVR_RSN_NM")
|
|
|
|
valueMap.put("미배달사유", "UNDLVR_RSN_NM");
|
|
|
|
, Map.entry("수령인", "ACTL_RCPN_NM")
|
|
|
|
valueMap.put("수령인", "ACTL_RCPN_NM");
|
|
|
|
, Map.entry("수령인관계", "RCPN_REL_NM")
|
|
|
|
valueMap.put("수령인관계", "RCPN_REL_NM");
|
|
|
|
, Map.entry("단속일시", xlsx.style("CRDN_DT", center))
|
|
|
|
valueMap.put("단속일시", xlsx.style("CRDN_DT", center));
|
|
|
|
, Map.entry("차량번호", "VHRNO")
|
|
|
|
valueMap.put("차량번호", "VHRNO");
|
|
|
|
, Map.entry("단속법정동", "CRDN_STDG_NM")
|
|
|
|
valueMap.put("단속법정동", "CRDN_STDG_NM");
|
|
|
|
, Map.entry("단속장소", "CRDN_PLC")
|
|
|
|
valueMap.put("단속장소", "CRDN_PLC");
|
|
|
|
, Map.entry("회계연도", xlsx.style("FYR", center))
|
|
|
|
valueMap.put("회계연도", xlsx.style("FYR", center));
|
|
|
|
, Map.entry("부과번호", xlsx.style("LEVY_NO", center))
|
|
|
|
valueMap.put("부과번호", xlsx.style("LEVY_NO", center));
|
|
|
|
, Map.entry("부과일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("부과일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("납기일자", xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("납기일자", xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("과태료금액", xlsx.style("FFNLG_AMT", numeric))
|
|
|
|
valueMap.put("과태료금액", xlsx.style("FFNLG_AMT", numeric));
|
|
|
|
, Map.entry("본세", xlsx.style("PCPTAX", numeric))
|
|
|
|
valueMap.put("본세", xlsx.style("PCPTAX", numeric));
|
|
|
|
, Map.entry("가산금", xlsx.style("ADAMT", numeric))
|
|
|
|
valueMap.put("가산금", xlsx.style("ADAMT", numeric));
|
|
|
|
, Map.entry("미납금액", xlsx.style("SUM_AMT", numeric))
|
|
|
|
valueMap.put("미납금액", xlsx.style("SUM_AMT", numeric));
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("사전통지 발송 상세", center)
|
|
|
|
.value("사전통지 발송 상세", center)
|
|
|
@ -833,7 +831,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("고지서발송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("고지서발송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -847,22 +845,22 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngService.getSndngList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngService.getSndngList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("업무구분", xlsx.style("TASK_SE_NM", center))
|
|
|
|
valueMap.put("업무구분", xlsx.style("TASK_SE_NM", center));
|
|
|
|
, Map.entry("등록구분", xlsx.style("SNDNG_REG_SE_NM", center))
|
|
|
|
valueMap.put("등록구분", xlsx.style("SNDNG_REG_SE_NM", center));
|
|
|
|
, Map.entry("위반항목", "VLTN_ARTCL")
|
|
|
|
valueMap.put("위반항목", "VLTN_ARTCL");
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("납기일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("총건수", xlsx.style("TNOCS", numeric))
|
|
|
|
valueMap.put("총건수", xlsx.style("TNOCS", numeric));
|
|
|
|
, Map.entry("총금액", xlsx.style("GRAMT", numeric))
|
|
|
|
valueMap.put("총금액", xlsx.style("GRAMT", numeric));
|
|
|
|
, Map.entry("문서번호", "DOC_NO")
|
|
|
|
valueMap.put("문서번호", "DOC_NO");
|
|
|
|
, Map.entry("제목", "TTL_NM")
|
|
|
|
valueMap.put("제목", "TTL_NM");
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("고지서 발송 현황", center)
|
|
|
|
.value("고지서 발송 현황", center)
|
|
|
@ -917,7 +915,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("고지서발송상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("고지서발송상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -931,38 +929,38 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngDtlService.getSndngDtlList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngDtlService.getSndngDtlList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center))
|
|
|
|
valueMap.put("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center));
|
|
|
|
, Map.entry("등기번호", xlsx.style("RG_NO", center))
|
|
|
|
valueMap.put("등기번호", xlsx.style("RG_NO", center));
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("발송종료일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송종료일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("성명", "RCPN_NM")
|
|
|
|
valueMap.put("성명", "RCPN_NM");
|
|
|
|
, Map.entry("우편번호", xlsx.style("RCPN_ZIP", center))
|
|
|
|
valueMap.put("우편번호", xlsx.style("RCPN_ZIP", center));
|
|
|
|
, Map.entry("주소", "RCPN_ADDR")
|
|
|
|
valueMap.put("주소", "RCPN_ADDR");
|
|
|
|
, Map.entry("상세주소", "RCPN_DTL_ADDR")
|
|
|
|
valueMap.put("상세주소", "RCPN_DTL_ADDR");
|
|
|
|
, Map.entry("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("배달시각", xlsx.style("DLVR_TM", center))
|
|
|
|
valueMap.put("배달시각", xlsx.style("DLVR_TM", center));
|
|
|
|
, Map.entry("미배달사유", "UNDLVR_RSN_NM")
|
|
|
|
valueMap.put("미배달사유", "UNDLVR_RSN_NM");
|
|
|
|
, Map.entry("수령인", "ACTL_RCPN_NM")
|
|
|
|
valueMap.put("수령인", "ACTL_RCPN_NM");
|
|
|
|
, Map.entry("수령인관계", "RCPN_REL_NM")
|
|
|
|
valueMap.put("수령인관계", "RCPN_REL_NM");
|
|
|
|
, Map.entry("단속일시", xlsx.style("CRDN_DT", center))
|
|
|
|
valueMap.put("단속일시", xlsx.style("CRDN_DT", center));
|
|
|
|
, Map.entry("차량번호", "VHRNO")
|
|
|
|
valueMap.put("차량번호", "VHRNO");
|
|
|
|
, Map.entry("단속법정동", "CRDN_STDG_NM")
|
|
|
|
valueMap.put("단속법정동", "CRDN_STDG_NM");
|
|
|
|
, Map.entry("단속장소", "CRDN_PLC")
|
|
|
|
valueMap.put("단속장소", "CRDN_PLC");
|
|
|
|
, Map.entry("회계연도", xlsx.style("FYR", center))
|
|
|
|
valueMap.put("회계연도", xlsx.style("FYR", center));
|
|
|
|
, Map.entry("부과번호", xlsx.style("LEVY_NO", center))
|
|
|
|
valueMap.put("부과번호", xlsx.style("LEVY_NO", center));
|
|
|
|
, Map.entry("부과일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("부과일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("납기일자", xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("납기일자", xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("과태료금액", xlsx.style("FFNLG_AMT", numeric))
|
|
|
|
valueMap.put("과태료금액", xlsx.style("FFNLG_AMT", numeric));
|
|
|
|
, Map.entry("본세", xlsx.style("PCPTAX", numeric))
|
|
|
|
valueMap.put("본세", xlsx.style("PCPTAX", numeric));
|
|
|
|
, Map.entry("가산금", xlsx.style("ADAMT", numeric))
|
|
|
|
valueMap.put("가산금", xlsx.style("ADAMT", numeric));
|
|
|
|
, Map.entry("미납금액", xlsx.style("SUM_AMT", numeric))
|
|
|
|
valueMap.put("미납금액", xlsx.style("SUM_AMT", numeric));
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("고지서 발송 상세", center)
|
|
|
|
.value("고지서 발송 상세", center)
|
|
|
@ -1196,7 +1194,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("반송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("반송현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -1210,36 +1208,36 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = sndngDtlService.getSndbkList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = sndngDtlService.getSndbkList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("업무구분", xlsx.style("TASK_SE_NM", center))
|
|
|
|
valueMap.put("업무구분", xlsx.style("TASK_SE_NM", center));
|
|
|
|
, Map.entry("고지번호", xlsx.style("GOJI_NO", center))
|
|
|
|
valueMap.put("고지번호", xlsx.style("GOJI_NO", center));
|
|
|
|
, Map.entry("등기번호", xlsx.style("RG_NO", center))
|
|
|
|
valueMap.put("등기번호", xlsx.style("RG_NO", center));
|
|
|
|
, Map.entry("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("배달시간", "DLVR_TM")
|
|
|
|
valueMap.put("배달시간", "DLVR_TM");
|
|
|
|
, Map.entry("미배달사유", "UNDLVR_RSN_NM")
|
|
|
|
valueMap.put("미배달사유", "UNDLVR_RSN_NM");
|
|
|
|
, Map.entry("수령인", "ACTL_RCPN_NM")
|
|
|
|
valueMap.put("수령인", "ACTL_RCPN_NM");
|
|
|
|
, Map.entry("수령인관계", "RCPN_REL_NM")
|
|
|
|
valueMap.put("수령인관계", "RCPN_REL_NM");
|
|
|
|
, Map.entry("발송구분", xlsx.style("SNDNG_SE_NM", center))
|
|
|
|
valueMap.put("발송구분", xlsx.style("SNDNG_SE_NM", center));
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("과태료금액", xlsx.style("FFNLG_AMT", numeric))
|
|
|
|
valueMap.put("과태료금액", xlsx.style("FFNLG_AMT", numeric));
|
|
|
|
, Map.entry("성명", "RCPN_NM")
|
|
|
|
valueMap.put("성명", "RCPN_NM");
|
|
|
|
, Map.entry("우편번호", xlsx.style("RCPN_ZIP", center))
|
|
|
|
valueMap.put("우편번호", xlsx.style("RCPN_ZIP", center));
|
|
|
|
, Map.entry("주소", "RCPN_ADDR")
|
|
|
|
valueMap.put("주소", "RCPN_ADDR");
|
|
|
|
, Map.entry("상세주소", "RCPN_DTL_ADDR")
|
|
|
|
valueMap.put("상세주소", "RCPN_DTL_ADDR");
|
|
|
|
, Map.entry("단속일시", xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT))
|
|
|
|
valueMap.put("단속일시", xlsx.format(o -> xlsx.str2datetime(o.get("CRDN_YMD_TM"))).style(dateDT));
|
|
|
|
, Map.entry("차량번호", "VHRNO")
|
|
|
|
valueMap.put("차량번호", "VHRNO");
|
|
|
|
, Map.entry("납부자구분", xlsx.style("RTPYR_SE_NM", center))
|
|
|
|
valueMap.put("납부자구분", xlsx.style("RTPYR_SE_NM", center));
|
|
|
|
, Map.entry("납부자번호", xlsx.style("RTPYR_NO", center))
|
|
|
|
valueMap.put("납부자번호", xlsx.style("RTPYR_NO", center));
|
|
|
|
, Map.entry("납부자명", "RTPYR_NM")
|
|
|
|
valueMap.put("납부자명", "RTPYR_NM");
|
|
|
|
, Map.entry("단속법정동", xlsx.style("CRDN_STDG_NM", center))
|
|
|
|
valueMap.put("단속법정동", xlsx.style("CRDN_STDG_NM", center));
|
|
|
|
, Map.entry("단속장소", "CRDN_PLC")
|
|
|
|
valueMap.put("단속장소", "CRDN_PLC");
|
|
|
|
, Map.entry("처리상태", "CRDN_STTS_NM")
|
|
|
|
valueMap.put("처리상태", "CRDN_STTS_NM");
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("반송현황", center)
|
|
|
|
.value("반송현황", center)
|
|
|
@ -1295,7 +1293,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("공시송달현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("공시송달현황" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -1309,20 +1307,20 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = svbtcService.getSvbtcList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = svbtcService.getSvbtcList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("업무구분", xlsx.style("TASK_SE_NM", center))
|
|
|
|
valueMap.put("업무구분", xlsx.style("TASK_SE_NM", center));
|
|
|
|
, Map.entry("발송구분", xlsx.style("SNDNG_SE_NM", center))
|
|
|
|
valueMap.put("발송구분", xlsx.style("SNDNG_SE_NM", center));
|
|
|
|
, Map.entry("공시송달일자", xlsx.format(o -> xlsx.str2date(o.get("SVBTC_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("공시송달일자", xlsx.format(o -> xlsx.str2date(o.get("SVBTC_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("총건수", xlsx.style("TNOCS", numeric))
|
|
|
|
valueMap.put("총건수", xlsx.style("TNOCS", numeric));
|
|
|
|
, Map.entry("문서번호", "DOC_NO")
|
|
|
|
valueMap.put("문서번호", "DOC_NO");
|
|
|
|
, Map.entry("제목", "TTL_NM")
|
|
|
|
valueMap.put("제목", "TTL_NM");
|
|
|
|
, Map.entry("기타내용", "ETC_CN")
|
|
|
|
valueMap.put("기타내용", "ETC_CN");
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("공시송달현황", center)
|
|
|
|
.value("공시송달현황", center)
|
|
|
@ -1377,7 +1375,7 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
String dateTime = dateFormat.format(System.currentTimeMillis());
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<CellDef> cellDefs = fromJson(req.getCellDefs(), new TypeReference<ArrayList<CellDef>>() {});
|
|
|
|
List<CellDef> cellDefs = fromJson(req.getCellDefs(), CellDef.listType());
|
|
|
|
|
|
|
|
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
XLSWriter xlsx = new XLSWriter()
|
|
|
|
.setFilename("공시송달상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
|
.setFilename("공시송달상세" + "_목록_" + dateTime + ".xlsx")
|
|
|
@ -1391,38 +1389,38 @@ public class Sndb01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
List<DataObject> list = svbtcService.getSvbtcDtlList(req.setFetchSize(0));
|
|
|
|
List<DataObject> list = svbtcService.getSvbtcDtlList(req.setFetchSize(0));
|
|
|
|
|
|
|
|
|
|
|
|
CellDef.setValues(cellDefs, Map.ofEntries(
|
|
|
|
Map<String,Object> valueMap = new HashMap<String,Object>();
|
|
|
|
Map.entry("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center))
|
|
|
|
valueMap.put("발송상태", xlsx.style("SNDNG_DTL_STTS_NM", center));
|
|
|
|
, Map.entry("공시송달일자", xlsx.format(o -> xlsx.str2date(o.get("SVBTC_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("공시송달일자", xlsx.format(o -> xlsx.str2date(o.get("SVBTC_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("등기번호", xlsx.style("RG_NO", center))
|
|
|
|
valueMap.put("등기번호", xlsx.style("RG_NO", center));
|
|
|
|
, Map.entry("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("발송종료일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("발송종료일자", xlsx.format(o -> xlsx.str2date(o.get("SNDNG_END_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("성명", "RCPN_NM")
|
|
|
|
valueMap.put("성명", "RCPN_NM");
|
|
|
|
, Map.entry("우편번호", xlsx.style("RCPN_ZIP", center))
|
|
|
|
valueMap.put("우편번호", xlsx.style("RCPN_ZIP", center));
|
|
|
|
, Map.entry("주소", "RCPN_ADDR")
|
|
|
|
valueMap.put("주소", "RCPN_ADDR");
|
|
|
|
, Map.entry("상세주소", "RCPN_DTL_ADDR")
|
|
|
|
valueMap.put("상세주소", "RCPN_DTL_ADDR");
|
|
|
|
, Map.entry("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("배달일자", xlsx.format(o -> xlsx.str2date(o.get("DLVR_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("배달시각", xlsx.style("DLVR_TM", center))
|
|
|
|
valueMap.put("배달시각", xlsx.style("DLVR_TM", center));
|
|
|
|
, Map.entry("미배달사유", "UNDLVR_RSN_NM")
|
|
|
|
valueMap.put("미배달사유", "UNDLVR_RSN_NM");
|
|
|
|
, Map.entry("수령인", "ACTL_RCPN_NM")
|
|
|
|
valueMap.put("수령인", "ACTL_RCPN_NM");
|
|
|
|
, Map.entry("수령인관계", "RCPN_REL_NM")
|
|
|
|
valueMap.put("수령인관계", "RCPN_REL_NM");
|
|
|
|
, Map.entry("단속일시", xlsx.style("CRDN_DT", center))
|
|
|
|
valueMap.put("단속일시", xlsx.style("CRDN_DT", center));
|
|
|
|
, Map.entry("차량번호", "VHRNO")
|
|
|
|
valueMap.put("차량번호", "VHRNO");
|
|
|
|
, Map.entry("단속법정동", "CRDN_STDG_NM")
|
|
|
|
valueMap.put("단속법정동", "CRDN_STDG_NM");
|
|
|
|
, Map.entry("단속장소", "CRDN_PLC")
|
|
|
|
valueMap.put("단속장소", "CRDN_PLC");
|
|
|
|
, Map.entry("회계연도", xlsx.style("FYR", center))
|
|
|
|
valueMap.put("회계연도", xlsx.style("FYR", center));
|
|
|
|
, Map.entry("부과번호", xlsx.style("LEVY_NO", center))
|
|
|
|
valueMap.put("부과번호", xlsx.style("LEVY_NO", center));
|
|
|
|
, Map.entry("부과일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("부과일자", xlsx.format(o -> xlsx.str2date(o.get("LEVY_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("납기일자", xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD"))).style(dateYMD))
|
|
|
|
valueMap.put("납기일자", xlsx.format(o -> xlsx.str2date(o.get("DUDT_YMD"))).style(dateYMD));
|
|
|
|
, Map.entry("본세", xlsx.style("PCPTAX", numeric))
|
|
|
|
valueMap.put("본세", xlsx.style("PCPTAX", numeric));
|
|
|
|
, Map.entry("가산금", xlsx.style("ADAMT", numeric))
|
|
|
|
valueMap.put("가산금", xlsx.style("ADAMT", numeric));
|
|
|
|
, Map.entry("미납금액", xlsx.style("SUM_AMT", numeric))
|
|
|
|
valueMap.put("미납금액", xlsx.style("SUM_AMT", numeric));
|
|
|
|
, Map.entry("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT))
|
|
|
|
valueMap.put("등록일시", xlsx.format(o -> xlsx.str2datetime(o.get("REG_DT"))).style(dateDT));
|
|
|
|
, Map.entry("등록사용자", xlsx.style("RGTR_NM", center))
|
|
|
|
valueMap.put("등록사용자", xlsx.style("RGTR_NM", center));
|
|
|
|
, Map.entry("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT))
|
|
|
|
valueMap.put("수정일시", xlsx.format(o -> xlsx.str2datetime(o.get("MDFCN_DT"))).style(dateDT));
|
|
|
|
, Map.entry("수정사용자", xlsx.style("MDFR_NM", center))
|
|
|
|
valueMap.put("수정사용자", xlsx.style("MDFR_NM", center));
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
CellDef.setValues(cellDefs, valueMap);
|
|
|
|
|
|
|
|
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
xlsx.cell(0, 0)
|
|
|
|
.value("공시송달상세", center)
|
|
|
|
.value("공시송달상세", center)
|
|
|
|