diff --git a/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java b/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java index 61044267..cb364516 100644 --- a/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java +++ b/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java @@ -152,6 +152,7 @@ public class CrdnReRegBean extends AbstractBean { crdn.setMinusAmt(0); // 감경 금액 crdn.setRcvmtAmt(0); // 수납 금액 crdn.setBfrCrdnId(crdnInfo.string("CRDN_ID")); // 이전 단속 ID + crdn.setNxrpCrdnLinkYn("N"); // 세외수입 단속 연계 여부 crdn.setDelYn("N"); // 삭제 여부 // TB_CRDN_ADI(단속 부가 정보) crdn.setCrdnSeCd(crdnInfo.string("CRDN_SE_CD")); // 단속 구분 코드 diff --git a/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml b/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml index a0f196ae..1058ad1b 100644 --- a/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml +++ b/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml @@ -28,17 +28,17 @@ , CRR.CRDN_ID , CRR.RE_REG_YMD , CRR.CRDN_REG_SE_CD - , (SELECT GET_CODE_NM('FIM026', CRR.CRDN_REG_SE_CD) FROM DUAL) AS CRDN_REG_SE_NM + , (GET_CODE_NM('FIM026', CRR.CRDN_REG_SE_CD)) AS CRDN_REG_SE_NM , CRR.ETC_CN , CRR.DEL_YN , CRR.REG_DT , CRR.RGTR - , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = CRR.RGTR) AS RGTR_NM + , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = CRR.RGTR) AS RGTR_NM , 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 , C.VHRNO @@ -50,19 +50,23 @@ , 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 , 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.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 - , (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 , 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 , PA.ADDR_SN @@ -256,6 +260,7 @@ , C.CVLCPT_LINK_TBL_NM , C.CVLCPT_LINK_ID , C.RTPYR_ID + , C.ADDR_SN , C.CRDN_YMD , C.CRDN_TM , C.VHRNO @@ -263,6 +268,8 @@ , C.CRDN_ROAD_NM , C.CRDN_PLC , C.VLTN_ID + , (SELECT VLTN_CD FROM TB_VLTN X + WHERE X.VLTN_ID=C.VLTN_ID AND X.SGG_CD=C.SGG_CD AND X.TASK_SE_CD=C.TASK_SE_CD) AS VLTN_CD , C.GPS_X , C.GPS_Y , C.ATCH_FILE_CNT @@ -283,9 +290,11 @@ , C.MINUS_AMT , C.RCVMT_AMT , C.BFR_CRDN_ID - , C.DEL_YN - , C.REG_DT - , C.RGTR + , C.NXRP_CRDN_LINK_YN + , C.NXRP_CRDN_LINK_USER_ID + , C.NXRP_CRDN_LINK_DT + , C.NXRP_ACB_KEY + , C.MM_CODE , CA.CRDN_SE_CD , CA.TEAM_ID , CA.DTL_CRDN_PLC @@ -301,11 +310,10 @@ , CA.PRK_PSBLTY_RSLT_CD , CA.VLTN_NMTM , CA.OVTM_YN - , (SELECT VLTN_CD FROM TB_VLTN X WHERE X.VLTN_ID=C.VLTN_ID AND X.SGG_CD=C.SGG_CD AND X.TASK_SE_CD=C.TASK_SE_CD) AS VLTN_CD FROM TB_CRDN C INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID) - WHERE C.CRDN_ID = #{crdnId} - AND C.DEL_YN = 'N' + WHERE C.CRDN_ID = #{crdnId} + AND C.DEL_YN = 'N'