|
@@ -123,9 +123,11 @@
|
|
from centerevent_t_forest_fire_loss a
|
|
from centerevent_t_forest_fire_loss a
|
|
left join centerevent_t_eventcatalogue b on b.event_code = a.event_id
|
|
left join centerevent_t_eventcatalogue b on b.event_code = a.event_id
|
|
left join ${database_system}.sys_dept d on d.dept_id = b.dept_id
|
|
left join ${database_system}.sys_dept d on d.dept_id = b.dept_id
|
|
|
|
+ left join centerevent_t_fire_information i on i.event_id = a.event_id
|
|
<where>
|
|
<where>
|
|
<if test="id != null and id != ''">and a.id = #{id}</if>
|
|
<if test="id != null and id != ''">and a.id = #{id}</if>
|
|
<if test="year != null and year != ''">and report_time_y = #{year}</if>
|
|
<if test="year != null and year != ''">and report_time_y = #{year}</if>
|
|
|
|
+ <if test="fireType != null and fireType != ''">and fire_type = #{fireType}</if>
|
|
${params.dataScope}
|
|
${params.dataScope}
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|