|
|
|
@ -14,7 +14,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, C.TASK_SE_CD <!-- 업무 구분 코드 -->
|
|
|
|
|
, C.CRDN_REG_SE_CD <!-- 단속 등록 구분 코드 -->
|
|
|
|
|
, C.CRDN_INPT_SE_CD <!-- 단속 입력 구분 코드 -->
|
|
|
|
|
, C.LINK_TBL_NM <!-- 연계 테이블 명 -->
|
|
|
|
|
, C.LINK_NM <!-- 연계 테이블 명 -->
|
|
|
|
|
, C.LINK_ID <!-- 연계 ID -->
|
|
|
|
|
, C.CRDN_SE_CD <!-- 단속 구분 코드 -->
|
|
|
|
|
, C.RTPYR_ID <!-- 납부자 ID -->
|
|
|
|
@ -107,7 +107,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, C.DEL_DT
|
|
|
|
|
, C.DEL_RSN
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_TBL_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_TEAM_INFO TI ON (C.TEAM_ID = TI.TEAM_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_LEVY L ON (C.LEVY_ID = L.LEVY_ID)
|
|
|
|
@ -162,7 +162,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, C.VHRNO <!-- 차량번호 -->
|
|
|
|
|
, C.CRDN_PLC
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_TBL_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
|
AND C.TASK_SE_CD = #{taskSeCd}
|
|
|
|
|
AND C.CRDN_STTS_CD = '01'
|
|
|
|
@ -219,7 +219,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, LE.LEVY_EXCL_RSN_CD
|
|
|
|
|
, C.ETC_CN
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_TBL_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID)
|
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
|
AND C.TASK_SE_CD = #{taskSeCd}
|
|
|
|
@ -283,7 +283,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, CC.CVLCPT_APLY_CN <!-- 민원 신청 내용 -->
|
|
|
|
|
, CC.CVLCPT_APLY_SE_CD <!-- 민원 신청 구분코드 -->
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_TBL_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
WHERE C.DEL_YN = 'N' AND CC.DEL_YN = 'N'
|
|
|
|
|
AND C.CRDN_ID = #{crdnId}
|
|
|
|
|
</select>
|
|
|
|
@ -296,10 +296,10 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, CC.CVLCPT_RCPT_YMD <!-- 민원 접수 일자 -->
|
|
|
|
|
, CC.CVLCPT_PRCS_PRNMNT_DT <!-- 민원 처리 예정 일시 -->
|
|
|
|
|
, CC.CVLCPT_APLY_CN <!-- 민원 신청 내용 -->
|
|
|
|
|
, C.LINK_TBL_NM <!-- 연계 테이블 명 -->
|
|
|
|
|
, C.LINK_NM <!-- 연계 테이블 명 -->
|
|
|
|
|
, C.LINK_ID <!-- 연계 ID -->
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_TBL_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
WHERE C.DEL_YN = 'N' AND CC.DEL_YN = 'N'
|
|
|
|
|
AND C.CRDN_ID = #{crdnId}
|
|
|
|
|
</select>
|
|
|
|
@ -310,7 +310,7 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, CC.CVLCPT_APLY_CN <!-- 민원 신청 내용 -->
|
|
|
|
|
, CC.CVLCPT_PRCS_RSLT_CN
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_TBL_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
|
AND C.CRDN_ID = #{crdnId}
|
|
|
|
|
</select>
|
|
|
|
@ -346,10 +346,10 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
|
|
|
|
|
, C.VHCL_COLOR <!-- 차량색상 -->
|
|
|
|
|
, C.USE_FUEL_CD <!-- 사용 연료 코드 -->
|
|
|
|
|
, C.VIN <!-- 차대번호 -->
|
|
|
|
|
, C.LINK_TBL_NM <!-- 연계 테이블 명 -->
|
|
|
|
|
, C.LINK_NM <!-- 연계 테이블 명 -->
|
|
|
|
|
, C.LINK_ID <!-- 연계 아이디 -->
|
|
|
|
|
FROM TB_CRDN C
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_TBL_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
INNER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_NM IN ('TB_ESB_INTERFACE','TB_SAEOL') AND C.LINK_ID = CC.CVLCPT_LINK_ID)
|
|
|
|
|
LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID)
|
|
|
|
|
WHERE C.DEL_YN = 'N'
|
|
|
|
|
AND C.CRDN_ID = #{crdnId}
|
|
|
|
|