견문 검색 날짜 기준 컬럼 변경.
parent
cac3df5e84
commit
f2fc6d9d01
|
|
@ -40,10 +40,10 @@
|
||||||
and c.affair_status = #{affairStatus}
|
and c.affair_status = #{affairStatus}
|
||||||
</if>
|
</if>
|
||||||
<if test='startDate != null and startDate != ""'>
|
<if test='startDate != null and startDate != ""'>
|
||||||
and a.wrt_dt >= #{startDate}::date
|
and a.report_dt >= #{startDate}::date
|
||||||
</if>
|
</if>
|
||||||
<if test='endDate != null and endDate != ""'>
|
<if test='endDate != null and endDate != ""'>
|
||||||
and a.wrt_dt <= #{endDate}::date+1
|
and a.report_dt <= #{endDate}::date+1
|
||||||
</if>
|
</if>
|
||||||
<choose>
|
<choose>
|
||||||
<when test='ratingOrgan != null and ratingOrgan != ""'>
|
<when test='ratingOrgan != null and ratingOrgan != ""'>
|
||||||
|
|
@ -200,10 +200,10 @@
|
||||||
and wrt_user_nm like '%'||#{userNm}||'%'
|
and wrt_user_nm like '%'||#{userNm}||'%'
|
||||||
</if>
|
</if>
|
||||||
<if test='startDate != null and startDate != ""'>
|
<if test='startDate != null and startDate != ""'>
|
||||||
and wrt_dt >= #{startDate}::date
|
and report_dt >= #{startDate}::date
|
||||||
</if>
|
</if>
|
||||||
<if test='endDate != null and endDate != ""'>
|
<if test='endDate != null and endDate != ""'>
|
||||||
and wrt_dt <= #{endDate}::date+1
|
and report_dt <= #{endDate}::date+1
|
||||||
</if>
|
</if>
|
||||||
<if test='rating != null and rating != "" or sangbo != null and sangbo != ""'>
|
<if test='rating != null and rating != "" or sangbo != null and sangbo != ""'>
|
||||||
and ab.affair_key in (
|
and ab.affair_key in (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue