设备筛选

dev
Jing Li 2023-08-06 14:06:48 +08:00
parent d581fe09e9
commit a7e3d37ae5
1 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,16 @@ class DeviceFilter extends ModelFilter
return $this->where('status', $status);
}
public function supplierKey($supplierKey)
{
return $this->where('supplier_key', $supplierKey);
}
public function projectKey($projectKey)
{
return $this->where('project_key', $projectKey);
}
public function isRecommend($isRecommend){
return $this->where('is_recommend', $isRecommend);
}