Kaynağa Gözat

灾后评估需求变更

lyq 1 yıl önce
ebeveyn
işleme
48dd4e5dda

+ 2 - 0
src/main/java/com/sooka/sponest/event/centereventtforestfireloss/domain/VisuForestFireLossVO.java

@@ -11,4 +11,6 @@ public class VisuForestFireLossVO extends BaseBusinessEntity {
     private String id;
 
     private String eventId;
+
+    private String fireType;
 }

+ 2 - 0
src/main/resources/mapper/centereventtforestfireloss/CentereventTForestFireLossMapper.xml

@@ -123,9 +123,11 @@
         from centerevent_t_forest_fire_loss a
         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 centerevent_t_fire_information i on i.event_id = a.event_id
         <where>
             <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="fireType != null and fireType != ''">and fire_type = #{fireType}</if>
             ${params.dataScope}
         </where>
     </select>