From e57208b2d402d24004d23c3f08524422a0e7c6d0 Mon Sep 17 00:00:00 2001 From: jjh Date: Thu, 4 Jul 2024 17:46:20 +0900 Subject: [PATCH] =?UTF-8?q?1.=20=ED=86=B5=ED=95=A9=EC=A1=B0=ED=9A=8C=20-?= =?UTF-8?q?=20=EA=B0=90=EA=B2=BD=EA=B5=AC=EB=B6=84=20=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?.=202.=20=EC=83=88=EC=98=AC,=20=EA=B5=AD=EB=AF=BC=EC=8B=A0?= =?UTF-8?q?=EB=AC=B8=EA=B3=A0=20=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=A1=B0?= =?UTF-8?q?=EC=9D=B8=20=EC=82=AD=EC=A0=9C.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fims/sprt/integrationSearch-mapper.xml | 73 +++++++------------ .../WEB-INF/jsp/fims/sprt/sprt01014-info.jsp | 4 + .../WEB-INF/jsp/fims/sprt/sprt01015-info.jsp | 7 +- 3 files changed, 36 insertions(+), 48 deletions(-) diff --git a/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml b/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml index decea6cc..b8c13fd4 100644 --- a/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml @@ -25,7 +25,6 @@ , CC.CVLCPT_RCPT_NO , CC.CVLCPT_RCPT_YMD , CC.CVLCPT_LIST_NO - , EI.CEL_NO_V , C.VHRNO , L.RPM_SZR_VHRNO , (GET_CODE_NM('FIM009', CA.FFNLG_CARMDL_CD)) AS FFNLG_CARMDL_NM @@ -77,6 +76,7 @@ , L.LEVY_ID , L.INST_CD , L.DEPT_CD + , L.SPCL_BIZ_CD , L.FYR , L.ACNTG_SE_CD , L.TXITM_CD @@ -85,18 +85,16 @@ , CONCAT(L.FYR, '-', L.LEVY_NO) AS GOJI_NO , L.LEVY_SE_CD , (GET_CODE_NM('FIM040', L.LEVY_SE_CD)) AS LEVY_SE_NM + , L.RDUCT_SE_CD + , (GET_CODE_NM('FIM046', L.RDUCT_SE_CD)) AS RDUCT_SE_NM , L.LEVY_PCPTAX , L.LEVY_ADAMT - , L.INSPY_INT - , L.PAY_MTHD_SE_CD - , (GET_CODE_NM('FIM045', L.PAY_MTHD_SE_CD)) AS PAY_MTHD_SE_NM - , L.RCVMT_YMD , L.RCVMT_PCPTAX , L.RCVMT_ADAMT , L.RDCAMT_PCPTAX , L.RDCAMT_ADAMT , L.SUM_AMT - , (L.LEVY_PCPTAX + L.LEVY_ADAMT) AS LEVY_AMT + , (L.LEVY_PCPTAX + L.LEVY_ADAMT) AS LEVY_AMT , (L.RCVMT_PCPTAX + L.RCVMT_ADAMT) AS RCVMT_AMT , (L.RDCAMT_PCPTAX + L.RDCAMT_ADAMT) AS REDUC_AMT , GET_MINAP_AMT(C.CRDN_ID) AS MINAP_AMT @@ -105,6 +103,9 @@ , L.DUDT_YMD , L.DUDT_AFTR_YMD , L.DUDT_AFTR_AMT + , L.RCVMT_YMD + , L.PAY_MTHD_SE_CD + , (GET_CODE_NM('FIM045', L.PAY_MTHD_SE_CD)) AS PAY_MTHD_SE_NM , L.EPAYNO , L.BANK_NM , L.VR_ACTNO @@ -112,37 +113,26 @@ , L.SZR_RMV_YMD , V.TXITM_NM , (CASE - WHEN (R.RCVMT_ID IS NOT NULL) OR (C.CRDN_STTS_CD IN ('81','82','83','84','85','86','87','88')) + WHEN 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 NOT NULL) OR (C.CRDN_STTS_CD IN ('81','82','83','84','85','86','87','88')) + WHEN C.CRDN_STTS_CD IN ('81','82','83','84','85','86','87','88') THEN - CASE - 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 '기타' + CASE 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 C.CRDN_STTS_CD IN ('53','54') - THEN '압류예정' - WHEN C.CRDN_STTS_CD IN ('52') - THEN '독촉' - WHEN C.CRDN_STTS_CD IN ('51','61') - THEN '부과' - WHEN C.CRDN_STTS_CD IN ('41','42','43') - THEN '자납부과' - WHEN C.CRDN_STTS_CD IN ('31') - THEN '의견진술접수' - ELSE '단속' + CASE WHEN C.CRDN_STTS_CD IN ('55') THEN '압류' + WHEN C.CRDN_STTS_CD IN ('53','54') THEN '압류예정' + WHEN C.CRDN_STTS_CD IN ('52') THEN '독촉' + WHEN C.CRDN_STTS_CD IN ('51','61') THEN '부과' + WHEN C.CRDN_STTS_CD IN ('41','42','43') THEN '자납부과' + WHEN C.CRDN_STTS_CD IN ('31') THEN '의견진술접수' + ELSE '단속' END END) AS TAB_GROUP , C.DEL_YN @@ -156,17 +146,14 @@ , C.DLTR , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.DLTR) AS DLTR_NM , C.DEL_RSN - FROM TB_CRDN C - INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID) - INNER JOIN TB_VLTN V ON (C.VLTN_ID = V.VLTN_ID) -LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CVLCPT_LINK_YN = 'Y' AND C.LINK_ID = CC.CVLCPT_LINK_ID) -LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID AND LE.DEL_YN = 'N') -LEFT OUTER JOIN TB_ESB_INTERFACE EI ON (C.LINK_TBL_NM = 'TB_ESB_INTERFACE' AND C.LINK_ID = EI.INTERFACE_SEQ_N) -LEFT OUTER JOIN TB_SA_CVLCPT_DTL SCD ON (C.LINK_TBL_NM = 'TB_SA_CVLCPT_DTL' AND C.LINK_ID = SCD.DTL_ID) -LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID) -LEFT OUTER JOIN TB_PAYER_ADDR PA ON (C.RTPYR_ID = PA.RTPYR_ID AND C.ADDR_SN = PA.ADDR_SN) -LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = 'N') -LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N') + FROM TB_CRDN C + INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID) + INNER JOIN TB_VLTN V ON (C.VLTN_ID = V.VLTN_ID) +LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.CVLCPT_LINK_YN = 'Y' AND C.LINK_ID = CC.CVLCPT_LINK_ID) +LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID AND LE.DEL_YN = 'N') +LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID) +LEFT OUTER JOIN TB_PAYER_ADDR PA ON (C.RTPYR_ID = PA.RTPYR_ID AND C.ADDR_SN = PA.ADDR_SN) +LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = 'N') WHERE C.DEL_YN = 'N' AND C.CRDN_ID IN (#{CRDN_ID}) @@ -273,10 +260,6 @@ LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N AND CC.CVLCPT_LIST_NO = #{item.value} - - AND EI.CEL_NO_V = #{item.value} - - diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp index 971552b2..7aaf42ef 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01014-info.jsp @@ -114,6 +114,10 @@ >견인여부 감경구분 + + 부과일자 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp index fc429434..781c0efe 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp @@ -38,9 +38,10 @@ {OPNN_SBMSN_YN_NM} {ADVNTCE_DUDT_YMD} {TOWNG_YN_NM} + {RDUCT_SE_NM} {LEVY_YMD} - {DUDT_YMD} - {MINAP_AMT} + {DUDT_YMD} + {MINAP_AMT} {DUDT_AFTR_YMD} {DUDT_AFTR_AMT} {SZR_YMD} @@ -64,6 +65,6 @@ \ No newline at end of file