Ver Fonte

修改查询条件

zhulu há 1 ano atrás
pai
commit
8b97c4b020

+ 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 != ''">