港口场景筛选
This commit is contained in:
@@ -14,9 +14,9 @@ class SysPortLogic
|
||||
*/
|
||||
protected string $modelClass = SysPort::class;
|
||||
|
||||
public function getList()
|
||||
public function getList($where)
|
||||
{
|
||||
return SysPort::where('status', 1)->orderBy('sort','desc')->get(['id', 'port_code', 'port_name', 'country_id', 'description']);
|
||||
return SysPort::where('status', 1)->where($where)->orderBy('sort','desc')->get(['id', 'port_code', 'port_name', 'country_id', 'description']);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user