浏览代码

fireType修改

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}