dev
Jing Li 2023-08-06 17:08:58 +08:00
parent 36198d02ff
commit f95a64535c
1 changed files with 5 additions and 0 deletions

View File

@ -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.'%');