|
@@ -561,7 +561,7 @@ class CustomerService extends Service
|
|
|
$customer_info_map = [];
|
|
|
if(! empty($ergs['customer_detail'])){
|
|
|
$customer_info = CustomerInfo::where('del_time',0)
|
|
|
- ->where('customer_id',array_column($data['data'],'customer_id'))
|
|
|
+ ->whereIn('customer_id',array_column($data['data'],'id'))
|
|
|
->where('contact_type','contact_info','customer_id')
|
|
|
->get()->toArray();
|
|
|
$basic_maps = BasicType::where('id',array_unique(array_column($customer_info,'contact_type')))->pluck('title','id')->toArray();
|