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