견문 검색 날짜 기준 컬럼 변경.

master
강석 최 2023-09-11 16:31:07 +09:00
parent cac3df5e84
commit f2fc6d9d01
1 changed files with 4 additions and 4 deletions

View File

@ -40,10 +40,10 @@
and c.affair_status = #{affairStatus}
</if>
<if test='startDate != null and startDate != ""'>
and a.wrt_dt >= #{startDate}::date
and a.report_dt >= #{startDate}::date
</if>
<if test='endDate != null and endDate != ""'>
and a.wrt_dt &lt;= #{endDate}::date+1
and a.report_dt &lt;= #{endDate}::date+1
</if>
<choose>
<when test='ratingOrgan != null and ratingOrgan != ""'>
@ -200,10 +200,10 @@
and wrt_user_nm like '%'||#{userNm}||'%'
</if>
<if test='startDate != null and startDate != ""'>
and wrt_dt >= #{startDate}::date
and report_dt >= #{startDate}::date
</if>
<if test='endDate != null and endDate != ""'>
and wrt_dt &lt;= #{endDate}::date+1
and report_dt &lt;= #{endDate}::date+1
</if>
<if test='rating != null and rating != "" or sangbo != null and sangbo != ""'>
and ab.affair_key in (