견문 검색 날짜 기준 컬럼 변경.
parent
cac3df5e84
commit
f2fc6d9d01
|
|
@ -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 <= #{endDate}::date+1
|
||||
and a.report_dt <= #{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 <= #{endDate}::date+1
|
||||
and report_dt <= #{endDate}::date+1
|
||||
</if>
|
||||
<if test='rating != null and rating != "" or sangbo != null and sangbo != ""'>
|
||||
and ab.affair_key in (
|
||||
|
|
|
|||
Loading…
Reference in New Issue