Browse Source

no message

wzh 5 years ago
parent
commit
91d5487d04
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/application/controllers/Alarm.php

+ 1 - 1
api/application/controllers/Alarm.php

@@ -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'];