fix: 등록일자 조회조건 쿼리 수정

main
이범준 2 years ago
parent 588194ca7f
commit 4d878dd6f1

@ -101,7 +101,7 @@
AND trr.reglt_de BETWEEN #{sch_date_from} AND #{sch_date_to}
</if>
<if test='sch_date_opt eq "registDt"'>
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},'-','')
</if>
<if test='vhcleNo != null and vhcleNo != ""'>
AND INSTR(trr.vhcle_no, #{vhcleNo}) > 0

Loading…
Cancel
Save