|
@@ -115,6 +115,9 @@
|
|
|
<if test="eventStatusValue != null and eventStatusValue != ''">
|
|
|
and event_status_value = #{eventStatusValue}
|
|
|
</if>
|
|
|
+ <if test="isExamine != null and isExamine != ''">
|
|
|
+ and (is_examine = 1 and event_status_value = 'forest_event_status_5')
|
|
|
+ </if>
|
|
|
union all
|
|
|
</if>
|
|
|
select event_code eventCode,event_name eventName,longitude,latitude,reportor,event_status
|
|
@@ -138,6 +141,9 @@
|
|
|
<if test="eventStatusValue != null and eventStatusValue != ''">
|
|
|
and event_status_value = #{eventStatusValue}
|
|
|
</if>
|
|
|
+ <if test="isExamine != null and isExamine != ''">
|
|
|
+ and (is_examine = 1 and event_status_value = 'forest_event_status_5')
|
|
|
+ </if>
|
|
|
) t
|
|
|
left join centerevent_t_dept_event d on d.event_code = t.eventCode and d.event_status_value !=
|
|
|
'forest_event_status_3'
|