|
@@ -91,7 +91,8 @@ class Home extends Base_Controller {
|
|
|
// if (!empty($projectIdArr)) $where['projectid'] = $projectIdArr;
|
|
|
// $data['day_faulty_count'] = $this->Lamp_model->get_count($where);
|
|
|
|
|
|
- $where = ['L.netstatus ='=>1];
|
|
|
+ // $where = ['L.netstatus ='=>1];
|
|
|
+ $where = ['L.controllerstatus ='=>5];
|
|
|
if (!empty($projectIdArr)) $where['L.projectid'] = $projectIdArr;
|
|
|
$where1 = [];
|
|
|
foreach ($where as $key => $value) {
|