견문통계 분야별, 평가별 조건 수정.
parent
423c7ddc1f
commit
b1c8e7386e
|
|
@ -15,6 +15,9 @@
|
||||||
<if test='endDate != null and endDate != ""'>
|
<if test='endDate != null and endDate != ""'>
|
||||||
and wrt_dt <= #{endDate}::date+1
|
and wrt_dt <= #{endDate}::date+1
|
||||||
</if>
|
</if>
|
||||||
|
<if test='reportOrgan != null and reportOrgan != ""'>
|
||||||
|
and doc_no like '%'||#{reportOrgan}||'%'
|
||||||
|
</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 (
|
||||||
select affair_key
|
select affair_key
|
||||||
|
|
@ -133,6 +136,9 @@
|
||||||
<if test='endDate != null and endDate != ""'>
|
<if test='endDate != null and endDate != ""'>
|
||||||
and wrt_dt <= #{endDate}::date+1
|
and wrt_dt <= #{endDate}::date+1
|
||||||
</if>
|
</if>
|
||||||
|
<if test='reportOrgan != null and reportOrgan != ""'>
|
||||||
|
and doc_no like '%'||#{reportOrgan}||'%'
|
||||||
|
</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 (
|
||||||
select affair_key
|
select affair_key
|
||||||
|
|
@ -347,6 +353,9 @@
|
||||||
<if test='endDate != null and endDate != ""'>
|
<if test='endDate != null and endDate != ""'>
|
||||||
and wrt_dt <= #{endDate}::date+1
|
and wrt_dt <= #{endDate}::date+1
|
||||||
</if>
|
</if>
|
||||||
|
<if test='reportOrgan != null and reportOrgan != ""'>
|
||||||
|
and doc_no like '%'||#{reportOrgan}||'%'
|
||||||
|
</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 (
|
||||||
select affair_key
|
select affair_key
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue