|
@@ -522,7 +522,7 @@ class RangeService extends Service
|
|
public function customerBasicTypeSearch($customer_type, $type){
|
|
public function customerBasicTypeSearch($customer_type, $type){
|
|
$result = BasicType::where('del_time',0)
|
|
$result = BasicType::where('del_time',0)
|
|
->whereIn('type',$type)
|
|
->whereIn('type',$type)
|
|
- ->where('title', 'LIKE', '%'.$customer_type.'%')
|
|
|
|
|
|
+ ->where('title', $customer_type)
|
|
->select('id')->get()->toArray();
|
|
->select('id')->get()->toArray();
|
|
return array_column($result,'id');
|
|
return array_column($result,'id');
|
|
}
|
|
}
|