@@ -91,7 +91,7 @@ class Alarm extends Base_Controller {
if (empty($download)) {
if (empty($type)) {
- $where[] = 'L.controllerstatus = 5';
+ $where[] = '(L.controllerstatus = 5 or L.netstatus = 0)';
$join = array();
$join[] = ['table'=>'(select lampid,max(updatetime) as maxTime from warning_info_log group by lampid) as WI','cond'=>'WI.lampid = AI.lampid AND WI.maxTime = AI.updatetime','type'=>'inner'];