From d3a8a1ca98cd9a577e6f80a52d1ad2d05f3b9115 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 16 Aug 2023 19:07:25 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8B=A8=EC=86=8D=EC=9E=90=EB=A3=8C=EA=B2=80?= =?UTF-8?q?=EC=82=AC=20=EC=A1=B0=ED=9A=8C=EC=A1=B0=EA=B1=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/fims/crdn/crdn-list-mapper.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml index 19f978f3..35100ed6 100644 --- a/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml +++ b/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml @@ -217,6 +217,16 @@ SELECT C.CRDN_ID AND C.CRDN_STTS_CD = #{crdnSttsCd} + + + AND SUBSTR(C.REG_DT,1,8) = ]]> #{schDateFrom} + AND SUBSTR(C.REG_DT,1,8) #{schDateTo} + + + AND SUBSTR(C.MDFCN_DT,1,8) = ]]> #{schDateFrom} + AND SUBSTR(C.MDFCN_DT,1,8) #{schDateTo} + + @@ -276,6 +286,16 @@ SELECT GROUP_CONCAT(C.CRDN_ID) AS CRDN_ID_LIST AND C.CRDN_STTS_CD = #{crdnSttsCd} + + + AND SUBSTR(C.REG_DT,1,8) = ]]> #{schDateFrom} + AND SUBSTR(C.REG_DT,1,8) #{schDateTo} + + + AND SUBSTR(C.MDFCN_DT,1,8) = ]]> #{schDateFrom} + AND SUBSTR(C.MDFCN_DT,1,8) #{schDateTo} + + GROUP BY C.VHRNO, C.CRDN_STDG_NM HAVING COUNT(*) = ]]>