添加等级查询
parent
bfcb01ba51
commit
0e4f6bf0cd
|
|
@ -15,6 +15,10 @@ class DeviceWarningFilter extends ModelFilter
|
||||||
return $this->where('device_id', $device);
|
return $this->where('device_id', $device);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function lv($lv){
|
||||||
|
return $this->where('lv', $lv);
|
||||||
|
}
|
||||||
|
|
||||||
public function status($status)
|
public function status($status)
|
||||||
{
|
{
|
||||||
return $this->where('status', $status);
|
return $this->where('status', $status);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue