浏览代码

添加消息

lihui001 3 年之前
父节点
当前提交
cf6552b516

+ 0 - 1
zoniot-water/zoniot-water-core/src/main/java/com/bz/zoneiot/water/core/mapper/AlarmDetailMapper.xml

@@ -712,7 +712,6 @@
         left join sms_device d on ad.DEVICE_ID =d.ID
         left join sms_device_attribute da on ad.ATTRIBUTE_ID =da.id
         left join sms_alarm_type ast on ast.id=ad.ALARM_ID
-        left join sms_alarm_rule ar on ar.alarm_type_id=ast.id
         where  ad.OP_STATE = 1 and ad.STATE=1 and ad.is_send_message = 0 and d.status = 1 and d.ENABLE_STATE = 2
         and timestampdiff(MINUTE,ad.ALARM_START_TIME,now()) > 10
     </select>