@@ -724,6 +724,6 @@
left join sms_alarm_setting b on a.alarm_setting_id=b.id and b.status = 1 and b.alarm_condition!='='
<include refid="alarmDetailJoins"/>
where a.`STATUS` = 1
- and (a.parent_scene_id =#{sceneId} or scene_id=#{sceneId} )and a.state=1
+ and (a.parent_scene_id =#{sceneId} or a.scene_id=#{sceneId})and a.state=1
</select>
</mapper>