wangyangyang 4 lat temu
rodzic
commit
a2b5bac7b1

+ 1 - 1
sms_water/src/main/resources/mapper/AlarmDetailMapper.xml

@@ -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>