yq пре 4 година
родитељ
комит
2f8186c3a2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mhfire-mapping/src/main/resources/mapper/mysql/FireStatisticsMapper.xml

+ 1 - 1
mhfire-mapping/src/main/resources/mapper/mysql/FireStatisticsMapper.xml

@@ -88,7 +88,7 @@
                 and `行政区域` = #{region}
                 and `行政区域` = #{region}
             </if>
             </if>
             <if test="fireType != null and fireType != ''">
             <if test="fireType != null and fireType != ''">
-                and `火灾原因分类(一级)` = #{level}
+                and `火灾原因分类(一级)` = #{fireType}
             </if>
             </if>
             <if test="unitId != null and unitId != ''">
             <if test="unitId != null and unitId != ''">
                 and `单位代码` = #{unitId}
                 and `单位代码` = #{unitId}