|
|
|
@ -105,38 +105,38 @@
|
|
|
|
|
, L.SZR_RMV_YMD /* 압류 해제 일자 */
|
|
|
|
|
, VI.TXITM_NM /* 세목 명 */
|
|
|
|
|
, (CASE
|
|
|
|
|
WHEN R.RCVMT_ID IS NULL
|
|
|
|
|
THEN 'N'
|
|
|
|
|
ELSE 'Y'
|
|
|
|
|
END) AS RCVMT_YN /* 수납 여부 */
|
|
|
|
|
WHEN (R.RCVMT_ID IS NOT NULL) OR (C.CRDN_STTS_CD IN ('81','82','83','84','85','86','87','88'))
|
|
|
|
|
THEN 'Y'
|
|
|
|
|
ELSE 'N'
|
|
|
|
|
END) AS RCVMT_ETC_YN /* 수납,기타 여부 */
|
|
|
|
|
, (CASE
|
|
|
|
|
WHEN R.RCVMT_ID IS NULL
|
|
|
|
|
WHEN (R.RCVMT_ID IS NOT NULL) OR (C.CRDN_STTS_CD IN ('81','82','83','84','85','86','87','88'))
|
|
|
|
|
THEN
|
|
|
|
|
CASE
|
|
|
|
|
WHEN '상태' = '압류'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('88')
|
|
|
|
|
THEN '법원이송'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('71','72','73','74','75')
|
|
|
|
|
THEN '수납'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('76','77')
|
|
|
|
|
THEN '결손'
|
|
|
|
|
ELSE '기타'
|
|
|
|
|
END
|
|
|
|
|
ELSE
|
|
|
|
|
CASE
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('55')
|
|
|
|
|
THEN '압류'
|
|
|
|
|
WHEN '상태' = '압류예정'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('53','54')
|
|
|
|
|
THEN '압류예정'
|
|
|
|
|
WHEN '상태' = '독촉'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('52')
|
|
|
|
|
THEN '독촉'
|
|
|
|
|
WHEN '상태' = '부과'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('51','61')
|
|
|
|
|
THEN '부과'
|
|
|
|
|
WHEN '상태' = '자납부과'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('41','42','43')
|
|
|
|
|
THEN '자납부과'
|
|
|
|
|
WHEN '상태' = '의견진술접수'
|
|
|
|
|
WHEN C.CRDN_STTS_CD IN ('31')
|
|
|
|
|
THEN '의견진술접수'
|
|
|
|
|
ELSE '단속'
|
|
|
|
|
END
|
|
|
|
|
ELSE
|
|
|
|
|
CASE
|
|
|
|
|
WHEN '상태' = '수납'
|
|
|
|
|
THEN '수납'
|
|
|
|
|
WHEN '상태' = '결손'
|
|
|
|
|
THEN '결손'
|
|
|
|
|
WHEN '상태' = '법원이송'
|
|
|
|
|
THEN '법원이송'
|
|
|
|
|
ELSE '기타'
|
|
|
|
|
END
|
|
|
|
|
END) AS TAB_GROUP /* 탭 그룹 */
|
|
|
|
|
, C.DEL_YN /* 삭제 여부 */
|
|
|
|
|
, C.REG_DT /* 등록 일시 */
|
|
|
|
|