From 4d878dd6f15a6e2335707cbe157523f6cdb24603 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 6 Mar 2023 13:47:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=93=B1=EB=A1=9D=EC=9D=BC=EC=9E=90=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=EC=A1=B0=EA=B1=B4=20=EC=BF=BC=EB=A6=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sqlmapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/sqlmapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml b/src/main/resources/sqlmapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml index 6fa9e708..2ee3aff0 100644 --- a/src/main/resources/sqlmapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml +++ b/src/main/resources/sqlmapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml @@ -101,7 +101,7 @@ AND trr.reglt_de BETWEEN #{sch_date_from} AND #{sch_date_to} - AND trr.regist_dt BETWEEN #{sch_date_from} AND #{sch_date_to} + AND SUBSTR(trr.regist_dt,1,8) BETWEEN REPLACE(#{sch_date_from},'-','') AND REPLACE(#{sch_date_to},'-','') AND INSTR(trr.vhcle_no, #{vhcleNo}) > 0