作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

后台设备模块开发

... ... @@ -207,7 +207,7 @@ exit();
$data = Db::name('light')
->alias('l')
->join('light_order lo', 'lo.light_id=l.id')
->where(['l.area_id' => $id,'lo.end_time'=>['!>',time()]])->field('l.row,l.column,l.id')->select()->toArray();
->where(['l.area_id' => $id,'lo.status'=>['neq',3]])->field('l.row,l.column,l.id')->select()->toArray();
return json_encode($data);
}
}
... ...