|
@@ -464,7 +464,7 @@
|
|
|
)t4 on t4.device_id=t1.id
|
|
|
left join sms_alarm_details t6 on t6.device_id=t1.id and t6.attribute_id=t2.attribute_id and t6.status = 1 and t6.state=1
|
|
|
left join sms_alarm_setting t11 on t6.alarm_setting_id=t11.id and t11.status = 1 and t11.alarm_condition!='='
|
|
|
- where t1. status = 1 and t1. enable_state = 1 and t1.id= #{deviceId}
|
|
|
+ where t1. status = 1 and t1.id= #{deviceId}
|
|
|
order by t2.seq
|
|
|
</select>
|
|
|
<!--统计设备合格数据-->
|