소스 검색

添加消息

lihui001 3 년 전
부모
커밋
cf6552b516
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      zoniot-water/zoniot-water-core/src/main/java/com/bz/zoneiot/water/core/mapper/AlarmDetailMapper.xml

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