From 2ad91cc78f397af856773bbe7a0520e225ccb82c Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 30 May 2024 17:18:54 +0900 Subject: [PATCH] =?UTF-8?q?SQL=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95(?= =?UTF-8?q?=EB=82=A9=EB=B6=80=EC=9E=90=EC=A3=BC=EC=86=8C=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/mapper/fims/levy/levy-mapper.xml | 4 ++-- .../sql/mapper/fims/sprt/integrationSearch-mapper.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml b/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml index 0780c41d..ba21ae10 100644 --- a/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml +++ b/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml @@ -517,8 +517,8 @@ P.RTPYR_NM P.RTPYR_NO P.RTPYR_BRDT - P.ADDR - P.DTL_ADDR + PA.ADDR + PA.DTL_ADDR #{term} 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 42938c35..5629ac6a 100644 --- a/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml @@ -238,10 +238,10 @@ LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N - AND P.ADDR LIKE CONCAT ('%' , #{item.value} , '%') + AND PA.ADDR LIKE CONCAT ('%' , #{item.value} , '%') - AND P.DTL_ADDR LIKE CONCAT ('%' , #{item.value} , '%') + AND PA.DTL_ADDR LIKE CONCAT ('%' , #{item.value} , '%') AND CONCAT(L.FYR, '-', L.LEVY_NO) = #{item.value} @@ -345,7 +345,7 @@ LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N L.RCVMT_PCPTAX L.RCVMT_ADAMT C.CRDN_REG_SE_CD - CONCAT(P.ADDR,' ',P.DTL_ADDR) + CONCAT(PA.ADDR,' ',PA.DTL_ADDR) P.RTPYR_STTS_CD #{term}