|
|
@@ -255,10 +255,17 @@ class OwnerService
|
|
|
if ($column == 'customers'){
|
|
|
if (is_array($param))$builder->whereIn('customer_id',$param);
|
|
|
else $builder->where('customer_id',$param);
|
|
|
+ continue;
|
|
|
}
|
|
|
if ($column == 'ids'){
|
|
|
if (is_array($param))$builder->whereIn('id',$param);
|
|
|
else $builder->where('id',$param);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ if ($column == 'owners'){
|
|
|
+ if (is_array($param))$builder->whereIn('owner_id',$param);
|
|
|
+ else $builder->where('owner_id',$param);
|
|
|
+ continue;
|
|
|
}
|
|
|
|
|
|
if (is_array($param))$builder->whereIn($column,$param);
|