Update
parent
36198d02ff
commit
f95a64535c
|
|
@ -6,6 +6,11 @@ use EloquentFilter\ModelFilter;
|
|||
|
||||
class DeviceFilter extends ModelFilter
|
||||
{
|
||||
public function sn($sn)
|
||||
{
|
||||
return $this->where('sn', $sn);
|
||||
}
|
||||
|
||||
public function point($point)
|
||||
{
|
||||
return $this->where('monitoring_point', 'like', $point.'%');
|
||||
|
|
|
|||
Loading…
Reference in New Issue