|
@@ -57,10 +57,10 @@ class Lampcontrol extends Base_Controller {
|
|
|
|
|
|
if (!empty($network_id)) $filter['L.networkid'] = $network_id;
|
|
|
if (!empty($section)) $filter['L.section'] = $section;
|
|
|
- // $offline = $this->input->post('offline', true);
|
|
|
- // if (!empty($offline)) $filter['N.status'] = 0;
|
|
|
- // $online = $this->input->post('online', true);
|
|
|
- // if (!empty($online)) $filter['N.status'] = 1;
|
|
|
+ $offline = $this->input->post('offline', true);
|
|
|
+ if (!empty($offline)) $filter['L.netstatus'] = 0;
|
|
|
+ $online = $this->input->post('online', true);
|
|
|
+ if (!empty($online)) $filter['L.netstatus'] = 1;
|
|
|
|
|
|
// 分页数据
|
|
|
$page = intval($this->input->post('page',true));
|