浏览代码

修改查询条件

zhulu 1 年之前
父节点
当前提交
8b97c4b020
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      soc-modules/soc-modules-iot/src/main/resources/mapper/IotAlarmDataMapper.xml

+ 1 - 1
soc-modules/soc-modules-iot/src/main/resources/mapper/IotAlarmDataMapper.xml

@@ -20,7 +20,7 @@
         <if test="param.orgPath != null and param.orgPath != ''">
             and b.path like concat(#{param.orgPath},'%')
         </if>
-        <if test="param.dataType != null and param.dataType != ''">
+        <if test="param.dataType != null">
             and a.data_type = #{param.dataType}
         </if>
         <if test="param.deviceType != null and param.deviceType != ''">