diff --git a/src/main/java/cokr/xit/fims/sndb/service/bean/SvbtcBean.java b/src/main/java/cokr/xit/fims/sndb/service/bean/SvbtcBean.java
index b7b4bdae..055052b1 100644
--- a/src/main/java/cokr/xit/fims/sndb/service/bean/SvbtcBean.java
+++ b/src/main/java/cokr/xit/fims/sndb/service/bean/SvbtcBean.java
@@ -79,20 +79,8 @@ public class SvbtcBean extends AbstractBean {
* @return 공시송달 대장 객체 목록
*/
public DataObject getSvbtcInfo(SndbQuery req) {
- DataObject svbtcInfo = new DataObject();
-
- if (req.getCallPurpose().equals("create")) {
- svbtcInfo.set("SGG_CD", req.getSggCd()); // 시군구 코드
- svbtcInfo.set("TASK_SE_CD", req.getTaskSeCd()); // 업무 구분 코드
- svbtcInfo.set("SNDNG_SE_CD", req.getSndngSeCd()); // 발송 구분 코드
- svbtcInfo.set("TNOCS", req.getTnocs()); // 총건수
-
- } else {
- svbtcInfo = svbtcMapper.selectSvbtcInfo(req);
- }
-
- return svbtcInfo;
- }
+ return svbtcMapper.selectSvbtcInfo(req);
+ }
/**지정한 조건에 따라 공시송달 상세 목록을 조회하여 반환한다.
* @param req 공시송달 대장 조회 조건
diff --git a/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java b/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java
index 4e099dc1..6fbab535 100644
--- a/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java
+++ b/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java
@@ -1114,47 +1114,6 @@ public class Sndb01Controller extends ApplicationController {
.addObject("rtnMsg", rtnMsg);
}
- /****지정한 고지서 발송 대장을 제거한다.
- * @param sndng 발송 대장
- * @return jsonView
- *
{
- * "saved": 저장되었으면 true, 그렇지 않으면 false
- * }
- */
- @Task
- @RequestMapping(name="고지서 발송 대장 삭제", value=METHOD_URL.removeNoticeSheetSending)
- public ModelAndView removeNoticeSheetSending(Sndng sndng) {
- boolean saved = false;
- String rtnMsg = "";
-
- // 발송(sndngId) 단건 삭제
- if (sndng.getSndngIds() == null || sndng.getSndngIds().length < 1) {
- rtnMsg = sndngService.removeSndng(sndng);
- } else {
- // 발송 IDs 만큼 삭제 반복..
- for (String sndngId : sndng.getSndngIds()) {
- Sndng deltSndng = new Sndng();
- deltSndng.setSndngId(sndngId);
- deltSndng.setDelRsn(sndng.getDelRsn());
-
- // 발송 삭제 호출
- rtnMsg = sndngService.removeSndng(deltSndng);
- if (!rtnMsg.contains("[S]")) // 오류가 발생하였으면 종료..
- break;
- }
- }
-
- if (rtnMsg.contains("[S]")) {
- saved = true;
- } else {
- saved = false;
- }
-
- return new ModelAndView("jsonView")
- .addObject("saved", saved)
- .addObject("rtnMsg", rtnMsg);
- }
-
/**고지서 발송 현황 메인화면(sndb/sndb01/110-main)을 연다.
*
* @return /sndb/sndb01/110-main
@@ -1239,6 +1198,47 @@ public class Sndb01Controller extends ApplicationController {
}
}
+ /****지정한 고지서 발송 대장을 제거한다.
+ * @param sndng 발송 대장
+ * @return jsonView
+ * {
+ * "saved": 저장되었으면 true, 그렇지 않으면 false
+ * }
+ */
+ @Task
+ @RequestMapping(name="고지서 발송 대장 삭제", value=METHOD_URL.removeNoticeSheetSending)
+ public ModelAndView removeNoticeSheetSending(Sndng sndng) {
+ boolean saved = false;
+ String rtnMsg = "";
+
+ // 발송(sndngId) 단건 삭제
+ if (sndng.getSndngIds() == null || sndng.getSndngIds().length < 1) {
+ rtnMsg = sndngService.removeSndng(sndng);
+ } else {
+ // 발송 IDs 만큼 삭제 반복..
+ for (String sndngId : sndng.getSndngIds()) {
+ Sndng deltSndng = new Sndng();
+ deltSndng.setSndngId(sndngId);
+ deltSndng.setDelRsn(sndng.getDelRsn());
+
+ // 발송 삭제 호출
+ rtnMsg = sndngService.removeSndng(deltSndng);
+ if (!rtnMsg.contains("[S]")) // 오류가 발생하였으면 종료..
+ break;
+ }
+ }
+
+ if (rtnMsg.contains("[S]")) {
+ saved = true;
+ } else {
+ saved = false;
+ }
+
+ return new ModelAndView("jsonView")
+ .addObject("saved", saved)
+ .addObject("rtnMsg", rtnMsg);
+ }
+
/**고지서 발송 현황 - 발송상세 화면(sndb/sndb01/120-info)을 연다.
* @param sndngId 발송 ID
* @return fims/sndb/sndb01120-info 또는 jsonView
@@ -1383,15 +1383,13 @@ public class Sndb01Controller extends ApplicationController {
Map> commonCodes = getCodesOf("FIM047", "FIM054", "FIM081");
return mav
- .addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 Jsp PageName
- .addObject("callPurpose", req.getCallPurpose()) // 호출 용도
- .addObject("pageName", "sndb01210") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
- .addObject("infoPrefix", "sndbkTrgt") // prefix
- .addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
- .addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD)
- .addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD)
- .addObject("FIM047List", commonCodes.get("FIM047")) // 발송 구분 코드(SNDNG_SE_CD)
- .addObject("FIM081List", commonCodes.get("FIM081")) // 미배달 사유 코드(UNDLVR_RSN_CD)
+ .addObject("callPurpose", req.getCallPurpose()) // 호출 용도
+ .addObject("pageName", "sndb01210") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
+ .addObject("prefixUrl", CLASS_URL) // prefixUrl
+ .addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD)
+ .addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD)
+ .addObject("FIM047List", commonCodes.get("FIM047")) // 발송 구분 코드(SNDNG_SE_CD)
+ .addObject("FIM081List", commonCodes.get("FIM081")) // 미배달 사유 코드(UNDLVR_RSN_CD)
;
}
@@ -1411,7 +1409,7 @@ public class Sndb01Controller extends ApplicationController {
public ModelAndView getSendingDetailList(SndbQuery req) {
if (!"xls".equals(req.getDownload())) {
List> result = sndngDtlService.getSndngDtlList(setFetchSize(req));
- return setCollectionInfo(new ModelAndView("jsonView"), result, "sndbkTrgt");
+ return setPagingInfo(new ModelAndView("jsonView"), result, "");
} else {
// 현재 날짜 구하기
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
@@ -1578,23 +1576,15 @@ public class Sndb01Controller extends ApplicationController {
FimsUser fimsUser = (FimsUser)currentUser().getUser();
// View(jsp)에서 사용할 공통코드를 조회
- Map> commonCodes = getCodesOf("FIM004", "FIM005", "FIM006", "FIM047", "FIM054", "FIM061", "FIM064", "FIM081");
-
- addCodes(commonCodes, mav, "FIM004", "FIM005", "FIM006", "FIM061", "FIM064");
+ Map> commonCodes = getCodesOf("FIM047", "FIM054", "FIM081");
return mav
- .addObject("pageName", "sndb01220") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
- .addObject("infoPrefix", "sndbk") // prefix
- .addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
+ .addObject("pageName", "sndb01220") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
+ .addObject("prefixUrl", CLASS_URL) // prefixUrl
.addObject("sggCd", fimsUser.getOrgID()) // 시군구 코드(SGG_CD)
- .addObject("taskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))) // 시군구에서 사용하는 업무 목록
- .addObject("FIM004List", commonCodes.get("FIM004")) // 주정차위반 내역 코드(VLTN_ID)
- .addObject("FIM005List", commonCodes.get("FIM005")) // 전용차로위반 내역 코드(VLTN_ID)
- .addObject("FIM006List", commonCodes.get("FIM006")) // 장애인주차위반 내역 코드(VLTN_ID)
- .addObject("FIM061List", commonCodes.get("FIM061")) // 전기차 충전구역 및 충전방해 위반 코드(VLTN_ID)
- .addObject("FIM064List", commonCodes.get("FIM064")) // 화물자동차 밤샘주차 위반 코드(VLTN_ID)
- .addObject("FIM047List", commonCodes.get("FIM047")) // 발송 구분 코드(SNDNG_SE_CD)
- .addObject("FIM081List", commonCodes.get("FIM081")) // 미배달 사유 코드(UNDLVR_RSN_CD)
+ .addObject("taskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))) // 시군구에서 사용하는 업무 목록
+ .addObject("FIM047List", commonCodes.get("FIM047")) // 발송 구분 코드(SNDNG_SE_CD)
+ .addObject("FIM081List", commonCodes.get("FIM081")) // 미배달 사유 코드(UNDLVR_RSN_CD)
;
}
@@ -1614,7 +1604,7 @@ public class Sndb01Controller extends ApplicationController {
public ModelAndView getSendBackList(SndbQuery req) {
if (!"xls".equals(req.getDownload())) {
List> result = sndngDtlService.getSndbkList(setFetchSize(req));
- return setCollectionInfo(new ModelAndView("jsonView"), result, "sndbk");
+ return setPagingInfo(new ModelAndView("jsonView"), result, "");
} else {
// 현재 날짜 구하기
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
@@ -1724,12 +1714,12 @@ public class Sndb01Controller extends ApplicationController {
// View(jsp)에서 사용할 공통코드를 조회
Map> commonCodes = getCodesOf("FIM047", "FIM054");
- return mav.addObject("pageName", "sndb01240") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
- .addObject("infoPrefix", "svbtc") // prefix
- .addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
+ return mav
+ .addObject("pageName", "sndb01240") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
+ .addObject("prefixUrl", CLASS_URL) // prefixUrl
.addObject("sggCd", fimsUser.getOrgID()) // 시군구 코드(SGG_CD)
- .addObject("taskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))) // 시군구에서 사용하는 업무 목록
- .addObject("FIM047List", commonCodes.get("FIM047")) // 발송 구분 코드(SNDNG_SE_CD)
+ .addObject("taskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))) // 시군구에서 사용하는 업무 목록
+ .addObject("FIM047List", commonCodes.get("FIM047")) // 발송 구분 코드(SNDNG_SE_CD)
;
}
@@ -1749,7 +1739,7 @@ public class Sndb01Controller extends ApplicationController {
public ModelAndView getServiceByPublicNoticeList(SndbQuery req) {
if (!"xls".equals(req.getDownload())) {
List> result = svbtcService.getSvbtcList(setFetchSize(req));
- return setCollectionInfo(new ModelAndView("jsonView"), result, "svbtc");
+ return setPagingInfo(new ModelAndView("jsonView"), result, "");
} else {
// 현재 날짜 구하기
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
@@ -1801,19 +1791,27 @@ public class Sndb01Controller extends ApplicationController {
@Task
@RequestMapping(name="공시송달 상세 화면", value=METHOD_URL.getServiceByPublicNoticeDetailInfo)
public ModelAndView getServiceByPublicNoticeDetailInfo(HttpServletRequest hReq, SndbQuery req) {
+ boolean json = jsonResponse();
ModelAndView mav = getServiceByPublicNoticeDetailList(req);
- mav.setViewName("fims/sndb/sndb01250-info");
+ if (json) {
+ mav.setViewName("jsonView");
+ } else {
+ mav.setViewName("fims/sndb/sndb01250-info");
+
+ mav.addObject("callPurpose", req.getCallPurpose()) // 호출 용도
+ .addObject("pageName", "sndb01250") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
+ .addObject("prefixUrl", CLASS_URL) // prefixUrl
+ .addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD)
+ .addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD)
+ .addObject("svbtcId", req.getSvbtcId()) // 업무 구분 코드(TASK_SE_CD)
+ .addObject("mainQuery", toJson(req)) // 검색 조건
+ .addObject("List", toJson(mav.getModel().get("List"))) // 데이터
+ .addObject("Paging", toJson(mav.getModel().get("Paging"))) // 페이징
+ ;
+ }
- return mav
- .addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 Jsp PageName
- .addObject("callPurpose", req.getCallPurpose()) // 호출 용도
- .addObject("pageName", "sndb01250") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
- .addObject("infoPrefix", "svbtcDtl") // prefix
- .addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
- .addObject("mainQuery", toJson(req)) // 검색 조건
- .addObject("svbtcDtlList", toJson(mav.getModel().get("svbtcDtlList"))) // 자료
- ;
+ return mav;
}
/**공시송달 발송 현황 - 공시송달 상세 목록을 조회하여 반환한다.
@@ -1831,8 +1829,8 @@ public class Sndb01Controller extends ApplicationController {
@RequestMapping(name="공시송달 상세 목록 조회", value=METHOD_URL.getServiceByPublicNoticeDetailList)
public ModelAndView getServiceByPublicNoticeDetailList(SndbQuery req) {
if (!"xls".equals(req.getDownload())) {
- List> result = svbtcService.getSvbtcDtls(req); // 공시송달자료는 일괄조회 하자. List> result = svbtcService.getSvbtcDtlList(setFetchSize(req));
- return setCollectionInfo(new ModelAndView("jsonView"), result, "svbtcDtl");
+ List> result = svbtcService.getSvbtcDtlList(setFetchSize(req));
+ return setPagingInfo(new ModelAndView("jsonView"), result, "");
} else {
// 현재 날짜 구하기
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
@@ -1882,7 +1880,7 @@ public class Sndb01Controller extends ApplicationController {
CellDef.setValues(cellDefs, valueMap);
- xlsx.cell(0, 0).value("공시송달상세").value(center).merge(0, cellDefs.size() - 1)
+ xlsx.cell(0, 0).value("공시송달 상세").value(center).merge(0, cellDefs.size() - 1)
.cell(3, 0).rowValues(CellDef.header(cellDefs, () -> StyleMaker.headerStyle(xlsx)))
.cell(4, 0).values(list, CellDef.values(cellDefs.stream().map(i -> {if(i.getValue() instanceof Format) {i.setField(null);}; return i;}).toList()));
@@ -1925,35 +1923,33 @@ public class Sndb01Controller extends ApplicationController {
* }
*/
@Task
- @RequestMapping(name="공시송달 정보", value=METHOD_URL.getServiceByPublicNoticeInfo)
+ @RequestMapping(name="공시송달 정보 상세 조회", value=METHOD_URL.getServiceByPublicNoticeInfo)
public ModelAndView getServiceByPublicNoticeInfo(HttpServletRequest hReq, SndbQuery req) {
- // 공시송달 정보 조회
- DataObject info = svbtcService.getSvbtcInfo(req);
-
- // 등록을 호출하였지만 등록된 공시송달 ID가 있는지 확인.
- if (req.getCallPurpose().equals("create") && !info.string("SVBTC_ID").equals("")) {
- ModelAndView mav = new ModelAndView("jsonView");
+ boolean json = jsonResponse();
+ ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sndb/sndb01260-info");
- return mav.addObject("rtnMsg", "이미 등록된 공시송달 정보가 있습니다.");
+ // 공시송달 정보 조회
+ DataObject svbtcInfo = new DataObject();
+ if (req.getSvbtcId() == null) {
+ svbtcInfo.set("SGG_CD", req.getSggCd()); // 시군구 코드
+ svbtcInfo.set("TASK_SE_CD", req.getTaskSeCd()); // 업무 구분 코드
+ svbtcInfo.set("SNDNG_SE_CD", req.getSchSndngSeCd()); // 발송 구분 코드
+ svbtcInfo.set("TNOCS", req.getTnocs()); // 총건수
} else {
- boolean json = jsonResponse();
- ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sndb/sndb01260-info");
-
- // View(jsp)에서 사용할 공통코드를 조회
- Map> commonCodes = getCodesOf("FIM047", "FIM054");
+ svbtcInfo = svbtcService.getSvbtcInfo(req);
+ }
- addCodes(commonCodes, mav, "FIM047", "FIM054");
+ // View(jsp)에서 사용할 공통코드를 조회
+ Map> commonCodes = getCodesOf("FIM047", "FIM054");
+ addCodes(commonCodes, mav, "FIM047", "FIM054");
- return mav
- .addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 Jsp PageName
- .addObject("callPurpose", req.getCallPurpose()) // 호출 용도
- .addObject("pageName", "sndb01260") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
- .addObject("infoPrefix", "svbtc") // prefix
- .addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
- .addObject("mainQuery", json ? req : toJson(req)) // Query
- .addObject("svbtcInfo", json ? info : toJson(info)) // 공시송달 정보
- ;
- }
+ return mav
+ .addObject("callPurpose", req.getCallPurpose()) // 호출 용도
+ .addObject("pageName", "sndb01260") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
+ .addObject("prefixUrl", CLASS_URL) // prefixUrl
+ .addObject("mainQuery", json ? req : toJson(req)) // mainQuery
+ .addObject("Info", json ? svbtcInfo : toJson(svbtcInfo)) // 공시송달 정보
+ ;
}
/**공시송달 대장에 공시송달 정보를 등록한다.
diff --git a/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml b/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml
index e6e5a5de..19aeaf9b 100644
--- a/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml
+++ b/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml
@@ -40,42 +40,42 @@
- SELECT S.SNDNG_ID
- , S.SGG_CD
- , S.DEPT_CD
- , S.TASK_SE_CD
- , S.SNDNG_REG_SE_CD
- , S.SNDNG_SE_CD
- , V.VLTN_ID
- , V.VLTN_CD
- , V.VLTN_ARTCL
- , S.LEVY_BGNG_YMD
- , S.LEVY_END_YMD
- , S.SNDNG_YMD
- , S.SNDNG_END_YMD
- , S.TTL_NM
- , S.DOC_NO
- , S.ETC_CN
- , S.TNOCS
- , S.GRAMT
- , S.CON_KEY
- , S.DIV_KB
- , S.EPOST_NOTICE_ID
- , S.SNDNG_STTS_CD
- , S.RSND_YN
- , S.REG_DT
- , S.RGTR
- , S.MDFCN_DT
- , S.MDFR
- , AS TODAY
- , GET_MASK_DATE(, 'K') AS TODAY_MASK
- , AS NOW
- , (SELECT GET_CODE_NM('FIM054', S.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM
- , (SELECT GET_CODE_NM('FIM067', S.SNDNG_REG_SE_CD) FROM DUAL) AS SNDNG_REG_SE_NM
- , (SELECT GET_CODE_NM('FIM047', S.SNDNG_SE_CD) FROM DUAL) AS SNDNG_SE_NM
- , (SELECT GET_CODE_NM('FIM049', S.SNDNG_STTS_CD) FROM DUAL) AS SNDNG_STTS_NM
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = S.RGTR) AS RGTR_NM
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = S.MDFR) AS MDFR_NM
+ SELECT S.SNDNG_ID
+ , S.SGG_CD
+ , S.DEPT_CD
+ , S.TASK_SE_CD
+ , (GET_CODE_NM('FIM054', S.TASK_SE_CD)) AS TASK_SE_NM
+ , S.SNDNG_REG_SE_CD
+ , (GET_CODE_NM('FIM067', S.SNDNG_REG_SE_CD)) AS SNDNG_REG_SE_NM
+ , S.SNDNG_SE_CD
+ , (GET_CODE_NM('FIM047', S.SNDNG_SE_CD)) AS SNDNG_SE_NM
+ , V.VLTN_ID
+ , V.VLTN_CD
+ , V.VLTN_ARTCL
+ , S.LEVY_BGNG_YMD
+ , S.LEVY_END_YMD
+ , S.SNDNG_YMD
+ , S.SNDNG_END_YMD
+ , S.TTL_NM
+ , S.DOC_NO
+ , S.ETC_CN
+ , S.TNOCS
+ , S.GRAMT
+ , S.CON_KEY
+ , S.DIV_KB
+ , S.EPOST_NOTICE_ID
+ , S.SNDNG_STTS_CD
+ , (GET_CODE_NM('FIM049', S.SNDNG_STTS_CD)) AS SNDNG_STTS_NM
+ , S.RSND_YN
+ , S.REG_DT
+ , S.RGTR
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = S.RGTR) AS RGTR_NM
+ , S.MDFCN_DT
+ , S.MDFR
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = S.MDFR) AS MDFR_NM
+ , AS TODAY
+ , GET_MASK_DATE(, 'K') AS TODAY_MASK
+ , AS NOW
FROM TB_SNDNG S
LEFT OUTER JOIN TB_VLTN V ON (S.VLTN_ID = V.VLTN_ID AND S.SGG_CD = V.SGG_CD AND S.TASK_SE_CD = V.TASK_SE_CD)
@@ -198,75 +198,75 @@
- , C.SGG_CD
- , C.TASK_SE_CD
- , C.CRDN_REG_SE_CD
- , C.CRDN_INPT_SE_CD
- , C.CRDN_YMD
- , C.CRDN_TM
- , C.VHRNO
- , C.CRDN_STDG_NM
- , C.CRDN_ROAD_NM
- , C.CRDN_PLC
- , C.FFNLG_CRDN_AMT
- , C.CRDN_STTS_CD
- , C.CRDN_STTS_CHG_DT
- , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM
+ , C.SGG_CD
+ , C.TASK_SE_CD
+ , (GET_CODE_NM('FIM054', C.TASK_SE_CD)) AS TASK_SE_NM
+ , C.CRDN_REG_SE_CD
+ , (GET_CODE_NM('FIM026', C.CRDN_REG_SE_CD)) AS CRDN_REG_SE_NM
+ , C.CRDN_INPT_SE_CD
+ , (GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD)) AS CRDN_INPT_SE_NM
+ , C.CRDN_YMD
+ , C.CRDN_TM
+ , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM
, (GET_MASK_DATETIME(C.CRDN_YMD, '-', C.CRDN_TM, ':')) AS CRDN_YMD_TM_MASK
- , (SELECT GET_CODE_NM('FIM054', C.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM
- , (SELECT GET_CODE_NM('FIM026', C.CRDN_REG_SE_CD) FROM DUAL) AS CRDN_REG_SE_NM
- , (SELECT GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM
- , (SELECT GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM
- , CA.CRDN_SE_CD
- , CA.DTL_CRDN_PLC
- , CA.CRDN_SPAREA_CD
- , CA.CRDN_BGNG_TM
- , CA.CRDN_END_TM
- , CA.CRDN_SN
- , CA.USE_FUEL_CD
- , CA.FFNLG_CARMDL_CD
- , CA.PRK_PSBLTY_RSLT_CD
- , CA.VLTN_NMTM
- , CA.OVTM_YN
- , (SELECT GET_CODE_NM('FIM002', CA.CRDN_SE_CD) FROM DUAL) AS CRDN_SE_NM
- , (SELECT GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM
- , (SELECT GET_CODE_NM('LVS005', CA.USE_FUEL_CD) FROM DUAL) AS USE_FUEL_NM
- , (SELECT GET_CODE_NM('FIM009', CA.FFNLG_CARMDL_CD) FROM DUAL) AS FFNLG_CARMDL_NM
- , (SELECT GET_CODE_NM('FIM034', CA.PRK_PSBLTY_RSLT_CD) FROM DUAL) AS PRK_PSBLTY_RSLT_NM
- , V.VLTN_ID
- , V.VLTN_CD
- , V.VLTN_ARTCL
- , CC.CVLCPT_LINK_ID
- , CC.CVLCPT_RCPT_YMD
- , CC.CVLCPT_APLY_NO
- , CC.CVLCPT_RCPT_NO
- , CC.CVLCPT_APLCNT_NM
- , CC.CVLCPT_APLY_DT
- , CC.CVLCPT_PRCS_PIC_NM
- , CC.CVLCPT_PRCS_CD
+ , C.VHRNO
+ , C.CRDN_STDG_NM
+ , C.CRDN_ROAD_NM
+ , C.CRDN_PLC
+ , C.FFNLG_CRDN_AMT
+ , C.CRDN_STTS_CD
+ , (GET_CODE_NM('FIM010', C.CRDN_STTS_CD)) AS CRDN_STTS_NM
+ , C.CRDN_STTS_CHG_DT
+ , CA.CRDN_SE_CD
+ , (GET_CODE_NM('FIM002', CA.CRDN_SE_CD)) AS CRDN_SE_NM
+ , CA.DTL_CRDN_PLC
+ , CA.CRDN_SPAREA_CD
+ , (GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD)) AS CRDN_SPAREA_NM
+ , CA.CRDN_BGNG_TM
+ , CA.CRDN_END_TM
+ , CA.CRDN_SN
+ , CA.USE_FUEL_CD
+ , (GET_CODE_NM('LVS005', CA.USE_FUEL_CD)) AS USE_FUEL_NM
+ , CA.FFNLG_CARMDL_CD
+ , (GET_CODE_NM('FIM009', CA.FFNLG_CARMDL_CD)) AS FFNLG_CARMDL_NM
+ , CA.PRK_PSBLTY_RSLT_CD
+ , (GET_CODE_NM('FIM034', CA.PRK_PSBLTY_RSLT_CD)) AS PRK_PSBLTY_RSLT_NM
+ , CA.VLTN_NMTM
+ , CA.OVTM_YN
+ , V.VLTN_ID
+ , V.VLTN_CD
+ , V.VLTN_ARTCL
+ , CC.CVLCPT_LINK_ID
+ , CC.CVLCPT_RCPT_YMD
+ , CC.CVLCPT_APLY_NO
+ , CC.CVLCPT_RCPT_NO
+ , CC.CVLCPT_APLCNT_NM
+ , CC.CVLCPT_APLY_DT
+ , CC.CVLCPT_PRCS_PIC_NM
+ , CC.CVLCPT_PRCS_CD
+ , (GET_CODE_NM('FIM017', CC.CVLCPT_PRCS_CD)) AS CVLCPT_PRCS_NM
, CC.CVLCPT_PRCS_CMPTN_DT
- , (SELECT GET_CODE_NM('FIM017', CC.CVLCPT_PRCS_CD) FROM DUAL) AS CVLCPT_PRCS_NM
- , P.RTPYR_ID
- , P.RTPYR_SE_CD
- , P.RTPYR_NO
- , P.RTPYR_NM
- , P.RTPYR_BRDT
- , PA.ZIP
- , PA.ADDR
- , PA.DTL_ADDR
- , (SELECT GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM
+ , P.RTPYR_ID
+ , P.RTPYR_SE_CD
+ , (GET_CODE_NM('FIM011', P.RTPYR_SE_CD)) AS RTPYR_SE_NM
+ , P.RTPYR_NO
+ , P.RTPYR_NM
+ , P.RTPYR_BRDT
, (GET_BRDT_FORMAT(P.RTPYR_BRDT, '.')) AS RTPYR_BRDT_MASK
- , LE.LEVY_EXCL_ID
- , LE.LEVY_EXCL_YMD
- , LE.LEVY_EXCL_RSN_CD
- , (SELECT GET_CODE_NM('FIM022', LE.LEVY_EXCL_RSN_CD) FROM DUAL) AS LEVY_EXCL_RSN_NM
- , LE.ETC_CN
- , LE.REG_DT
- , LE.RGTR
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = LE.RGTR) AS RGTR_NM
- , LE.MDFCN_DT
- , LE.MDFR
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = LE.MDFR) AS MDFR_NM
+ , PA.ZIP
+ , PA.ADDR
+ , PA.DTL_ADDR
+ , LE.LEVY_EXCL_ID
+ , LE.LEVY_EXCL_YMD
+ , LE.LEVY_EXCL_RSN_CD
+ , (GET_CODE_NM('FIM022', LE.LEVY_EXCL_RSN_CD)) AS LEVY_EXCL_RSN_NM
+ , LE.ETC_CN
+ , LE.REG_DT
+ , LE.RGTR
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = LE.RGTR) AS RGTR_NM
+ , LE.MDFCN_DT
+ , LE.MDFR
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = LE.MDFR) AS MDFR_NM
@@ -439,11 +439,11 @@
, C.SGG_CD
, C.TASK_SE_CD
- , (SELECT GET_CODE_NM('FIM054', C.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM
+ , (GET_CODE_NM('FIM054', C.TASK_SE_CD)) AS TASK_SE_NM
, C.CRDN_INPT_SE_CD
- , (SELECT GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM
+ , (GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD)) AS CRDN_INPT_SE_NM
, C.CRDN_YMD
- , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM
+ , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM
, C.VHRNO
, C.CRDN_STDG_NM
, C.CRDN_ROAD_NM
@@ -452,27 +452,27 @@
, C.FFNLG_AMT
, C.ADVNTCE_AMT
, C.CRDN_STTS_CD
- , (SELECT GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM
+ , (GET_CODE_NM('FIM010', C.CRDN_STTS_CD)) AS CRDN_STTS_NM
, C.REG_DT
, C.RGTR
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.RGTR) AS RGTR_NM
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.RGTR) AS RGTR_NM
, C.MDFCN_DT
, C.MDFR
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.MDFR) AS MDFR_NM
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.MDFR) AS MDFR_NM
, CA.CRDN_SE_CD
- , (SELECT GET_CODE_NM('FIM002', CA.CRDN_SE_CD) FROM DUAL) AS CRDN_SE_NM
+ , (GET_CODE_NM('FIM002', CA.CRDN_SE_CD)) AS CRDN_SE_NM
, CA.DTL_CRDN_PLC
, CA.CRDN_SPAREA_CD
- , (SELECT GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM
+ , (GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD)) AS CRDN_SPAREA_NM
, CA.CRDN_BGNG_TM
, CA.CRDN_END_TM
, CA.CRDN_SN
, CA.USE_FUEL_CD
- , (SELECT GET_CODE_NM('LVS005', CA.USE_FUEL_CD) FROM DUAL) AS USE_FUEL_NM
+ , (GET_CODE_NM('LVS005', CA.USE_FUEL_CD)) AS USE_FUEL_NM
, CA.FFNLG_CARMDL_CD
- , (SELECT GET_CODE_NM('FIM009', CA.FFNLG_CARMDL_CD) FROM DUAL) AS FFNLG_CARMDL_NM
+ , (GET_CODE_NM('FIM009', CA.FFNLG_CARMDL_CD)) AS FFNLG_CARMDL_NM
, CA.PRK_PSBLTY_RSLT_CD
- , (SELECT GET_CODE_NM('FIM034', CA.PRK_PSBLTY_RSLT_CD) FROM DUAL) AS PRK_PSBLTY_RSLT_NM
+ , (GET_CODE_NM('FIM034', CA.PRK_PSBLTY_RSLT_CD)) AS PRK_PSBLTY_RSLT_NM
, CA.VLTN_NMTM
, CA.OVTM_YN
, V.VLTN_ID
@@ -486,11 +486,11 @@
, CC.CVLCPT_APLY_DT
, CC.CVLCPT_PRCS_PIC_NM
, CC.CVLCPT_PRCS_CD
- , (SELECT GET_CODE_NM('FIM017', CC.CVLCPT_PRCS_CD) FROM DUAL) AS CVLCPT_PRCS_NM
+ , (GET_CODE_NM('FIM017', CC.CVLCPT_PRCS_CD)) AS CVLCPT_PRCS_NM
, CC.CVLCPT_PRCS_CMPTN_DT
, P.RTPYR_ID
, P.RTPYR_SE_CD
- , (SELECT GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM
+ , (GET_CODE_NM('FIM011', P.RTPYR_SE_CD)) AS RTPYR_SE_NM
, P.RTPYR_NO
, P.RTPYR_NM
, P.RTPYR_BRDT
@@ -681,7 +681,7 @@
, C.CRDN_STTS_CD
, P.RTPYR_ID
, P.RTPYR_SE_CD
- , (SELECT GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM
+ , (GET_CODE_NM('FIM011', P.RTPYR_SE_CD)) AS RTPYR_SE_NM
, P.RTPYR_NO
, P.RTPYR_NM
, P.RTPYR_BRDT
@@ -782,14 +782,14 @@
, C.FFNLG_CRDN_AMT
, C.ADVNTCE_AMT
, C.CRDN_STTS_CD
- , (SELECT GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM
+ , (GET_CODE_NM('FIM010', C.CRDN_STTS_CD)) AS CRDN_STTS_NM
, C.CRDN_STTS_CHG_DT
, CA.CRDN_SE_CD
- , (SELECT GET_CODE_NM('FIM002', CA.CRDN_SE_CD) FROM DUAL) AS CRDN_SE_NM
+ , (GET_CODE_NM('FIM002', CA.CRDN_SE_CD)) AS CRDN_SE_NM
, CA.CRDN_SPAREA_CD
- , (SELECT GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM
+ , (GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD)) AS CRDN_SPAREA_NM
, CA.PRK_PSBLTY_RSLT_CD
- , (SELECT GET_CODE_NM('FIM034', CA.PRK_PSBLTY_RSLT_CD) FROM DUAL) AS PRK_PSBLTY_RSLT_NM
+ , (GET_CODE_NM('FIM034', CA.PRK_PSBLTY_RSLT_CD)) AS PRK_PSBLTY_RSLT_NM
, V.VLTN_ID
, V.VLTN_CD
, V.VLTN_ARTCL
diff --git a/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml b/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml
index ac66946f..04e62a9f 100644
--- a/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml
+++ b/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml
@@ -110,14 +110,14 @@
, SD.LINK_TRGT_CD
, SD.LINK_MNG_KEY
, SD.SNDNG_SE_CD
- , (SELECT GET_CODE_NM('FIM047', SD.SNDNG_SE_CD) FROM DUAL) AS SNDNG_SE_NM
+ , (GET_CODE_NM('FIM047', SD.SNDNG_SE_CD)) AS SNDNG_SE_NM
, SD.SNDNG_YMD
- , (SELECT GET_MASK_DATE(SD.SNDNG_YMD, '-') FROM DUAL) AS SNDNG_YMD_MASK
+ , (GET_MASK_DATE(SD.SNDNG_YMD, '-')) AS SNDNG_YMD_MASK
, SD.SNDNG_END_YMD
- , (SELECT GET_MASK_DATE(SD.SNDNG_END_YMD, '-') FROM DUAL) AS SNDNG_END_YMD_MASK
+ , (GET_MASK_DATE(SD.SNDNG_END_YMD, '-')) AS SNDNG_END_YMD_MASK
, SD.RCPN_NM
, SD.RCPN_BRDT
- , (SELECT GET_BRDT_FORMAT(SD.RCPN_BRDT, '.') FROM DUAL) AS RCPN_BRDT_MASK
+ , (GET_BRDT_FORMAT(SD.RCPN_BRDT, '.')) AS RCPN_BRDT_MASK
, SD.RCPN_ADDR
, SD.RCPN_DTL_ADDR
, SD.RCPN_ZIP
@@ -130,13 +130,13 @@
, SD.ACTL_RCPN_NM
, SD.RCPN_REL_NM
, SD.SNDNG_DTL_STTS_CD
- , (SELECT GET_CODE_NM('FIM050', SD.SNDNG_DTL_STTS_CD) FROM DUAL) AS SNDNG_DTL_STTS_NM
+ , (GET_CODE_NM('FIM050', SD.SNDNG_DTL_STTS_CD)) AS SNDNG_DTL_STTS_NM
, SD.BFR_SNDNG_DTL_STTS_CD
- , (SELECT GET_CODE_NM('FIM050', SD.BFR_SNDNG_DTL_STTS_CD) FROM DUAL) AS BFR_SNDNG_DTL_STTS_NM
+ , (GET_CODE_NM('FIM050', SD.BFR_SNDNG_DTL_STTS_CD)) AS BFR_SNDNG_DTL_STTS_NM
, SD.BFR_DLVR_YMD
, SD.BFR_DLVR_HR
, SD.SNDNG_RCVMT_CD
- , (SELECT GET_CODE_NM('FIM051', SD.SNDNG_RCVMT_CD) FROM DUAL) AS SNDNG_RCVMT_NM
+ , (GET_CODE_NM('FIM051', SD.SNDNG_RCVMT_CD)) AS SNDNG_RCVMT_NM
, SD.ADDR_CHG_CD
, SD.CRDN_DT
, SD.VHRNO
@@ -145,12 +145,12 @@
, SD.FYR
, SD.LEVY_NO
, SD.LEVY_YMD
- , (SELECT GET_MASK_DATE(SD.LEVY_YMD, '.') FROM DUAL) AS LEVY_YMD_MASK
+ , (GET_MASK_DATE(SD.LEVY_YMD, '.')) AS LEVY_YMD_MASK
, SD.DUDT_YMD
- , (SELECT GET_MASK_DATE(SD.DUDT_YMD, '.') FROM DUAL) AS DUDT_YMD_MASK
- , (SELECT GET_MASK_DATE(SD.DUDT_YMD, 'K') FROM DUAL) AS DUDT_YMD_MASK_KOR
+ , (GET_MASK_DATE(SD.DUDT_YMD, '.')) AS DUDT_YMD_MASK
+ , (GET_MASK_DATE(SD.DUDT_YMD, 'K')) AS DUDT_YMD_MASK_KOR
, SD.DUDT_AFTR_YMD
- , (SELECT GET_MASK_DATE(SD.DUDT_AFTR_YMD, '.') FROM DUAL) AS DUDT_AFTR_YMD_MASK
+ , (GET_MASK_DATE(SD.DUDT_AFTR_YMD, '.')) AS DUDT_AFTR_YMD_MASK
, SD.FFNLG_AMT
, SD.PCPTAX
, SD.ADAMT
@@ -158,7 +158,7 @@
, SD.DUDT_AFTR_AMT
, SD.TAX_NO
, SD.EPAYNO
- , (SELECT GET_MASK_EPAYNO(SD.EPAYNO) FROM DUAL) AS EPAYNO_MASK
+ , (GET_MASK_EPAYNO(SD.EPAYNO)) AS EPAYNO_MASK
, SD.BANK_NM
, SD.VR_ACTNO
, SD.BANK_NM2
@@ -219,7 +219,7 @@
, S.TNOCS
, S.GRAMT
, S.DIV_KB
- , (SELECT GET_CODE_NM('EGP002', S.DIV_KB) FROM DUAL) AS DIV_KB_NM
+ , (GET_CODE_NM('EGP002', S.DIV_KB)) AS DIV_KB_NM
, S.EPOST_NOTICE_ID
, S.SNDNG_STTS_CD
, S.RSND_YN
@@ -747,7 +747,7 @@
SELECT SD.SNDNG_DTL_ID
, SD.SVBTC_ID
, SD.SNDNG_SE_CD
- , (SELECT GET_CODE_NM('FIM047', SD.SNDNG_SE_CD) FROM DUAL) AS SNDNG_SE_NM
+ , (GET_CODE_NM('FIM047', SD.SNDNG_SE_CD)) AS SNDNG_SE_NM
, SD.SNDNG_YMD
, SD.SNDNG_END_YMD
, SD.RCPN_NM
@@ -764,38 +764,40 @@
, SD.ACTL_RCPN_NM
, SD.RCPN_REL_NM
, SD.SNDNG_DTL_STTS_CD
- , (SELECT GET_CODE_NM('FIM050', SD.SNDNG_DTL_STTS_CD) FROM DUAL) AS SNDNG_DTL_STTS_NM
+ , (GET_CODE_NM('FIM050', SD.SNDNG_DTL_STTS_CD)) AS SNDNG_DTL_STTS_NM
, SD.SNDNG_RCVMT_CD
- , (SELECT GET_CODE_NM('FIM051', SD.SNDNG_RCVMT_CD) FROM DUAL) AS SNDNG_RCVMT_NM
+ , (GET_CODE_NM('FIM051', SD.SNDNG_RCVMT_CD)) AS SNDNG_RCVMT_NM
, SD.ADDR_CHG_CD
, SD.LEVY_YMD
, SD.DUDT_YMD
- , (SELECT GET_MASK_DATE(SD.DUDT_YMD, '.') FROM DUAL) AS DUDT_YMD_MASK
- , (SELECT GET_MASK_DATE(SD.DUDT_YMD, 'K') FROM DUAL) AS DUDT_YMD_MASK_KOR
+ , (GET_MASK_DATE(SD.DUDT_YMD, '.')) AS DUDT_YMD_MASK
+ , (GET_MASK_DATE(SD.DUDT_YMD, 'K')) AS DUDT_YMD_MASK_KOR
, SD.FFNLG_AMT
+ , SD.PCPTAX
+ , SD.ADAMT
, SD.SUM_AMT
, SD.REG_DT
, SD.RGTR
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = SD.RGTR) AS RGTR_NM
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = SD.RGTR) AS RGTR_NM
, SD.MDFCN_DT
, SD.MDFR
- , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = SD.MDFR) AS MDFR_NM
- , (CONCAT(SD.FYR, '-', SD.LEVY_NO)) AS GOJI_NO
+ , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = SD.MDFR) AS MDFR_NM
+ , (CONCAT(SD.FYR, '-', SD.LEVY_NO)) AS GOJI_NO
, S.SNDNG_ID
, S.DEPT_CD
, S.SNDNG_REG_SE_CD
- , (SELECT GET_CODE_NM('FIM067', S.SNDNG_REG_SE_CD) FROM DUAL) AS SNDNG_REG_SE_NM
+ , (GET_CODE_NM('FIM067', S.SNDNG_REG_SE_CD)) AS SNDNG_REG_SE_NM
, S.EPOST_NOTICE_ID
, S.SNDNG_STTS_CD
, S.RSND_YN
, C.CRDN_ID
, C.SGG_CD
, C.TASK_SE_CD
- , (SELECT GET_CODE_NM('FIM054', C.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM
+ , (GET_CODE_NM('FIM054', C.TASK_SE_CD)) AS TASK_SE_NM
, C.CRDN_REG_SE_CD
- , (SELECT GET_CODE_NM('FIM026', C.CRDN_REG_SE_CD) FROM DUAL) AS CRDN_REG_SE_NM
+ , (GET_CODE_NM('FIM026', C.CRDN_REG_SE_CD)) AS CRDN_REG_SE_NM
, C.CRDN_INPT_SE_CD
- , (SELECT GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM
+ , (GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD)) AS CRDN_INPT_SE_NM
, C.VHRNO
, C.CRDN_YMD
, C.CRDN_TM
@@ -804,10 +806,10 @@
, C.CRDN_ROAD_NM
, C.CRDN_PLC
, C.CRDN_STTS_CD
- , (SELECT GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM
+ , (GET_CODE_NM('FIM010', C.CRDN_STTS_CD)) AS CRDN_STTS_NM
, P.RTPYR_ID
, P.RTPYR_SE_CD
- , (SELECT GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM
+ , (GET_CODE_NM('FIM011', P.RTPYR_SE_CD)) AS RTPYR_SE_NM
, P.RTPYR_NO
, P.RTPYR_NM
diff --git a/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml b/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml
index a2f9d55b..c14aa226 100644
--- a/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml
+++ b/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml
@@ -250,9 +250,9 @@