设备筛选
parent
d581fe09e9
commit
a7e3d37ae5
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue