@@ -593,7 +593,7 @@
</if>
where a.ALARM_VALUE is not null and a.ALARM_CONDITION is not null
<if test="deviceCode != null">
- d.DEVICE_CODE=#{deviceCode}
+ and d.DEVICE_CODE=#{deviceCode}
</select>