|
|
@ -531,6 +531,8 @@ class MarketingStrategyController extends UserBaseController |
|
|
|
$tmp_type_id = 2; |
|
|
|
$tmp_type_id = 2; |
|
|
|
if(in_array($tmp_type_id, $car_type_ids)) { |
|
|
|
if(in_array($tmp_type_id, $car_type_ids)) { |
|
|
|
$flag = true; |
|
|
|
$flag = true; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$flag = false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//保险公司 |
|
|
|
//保险公司 |
|
|
@ -538,6 +540,8 @@ class MarketingStrategyController extends UserBaseController |
|
|
|
$company_ids = explode(',',$item->company_ids); |
|
|
|
$company_ids = explode(',',$item->company_ids); |
|
|
|
if(in_array($company2_id, $company_ids)) { |
|
|
|
if(in_array($company2_id, $company_ids)) { |
|
|
|
$flag = true; |
|
|
|
$flag = true; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$flag = false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//车辆使用类型 |
|
|
|
//车辆使用类型 |
|
|
@ -545,6 +549,8 @@ class MarketingStrategyController extends UserBaseController |
|
|
|
$car_use_ids = explode(',',$item->car_use_id); |
|
|
|
$car_use_ids = explode(',',$item->car_use_id); |
|
|
|
if(in_array($car_use_id, $car_use_ids)) { |
|
|
|
if(in_array($car_use_id, $car_use_ids)) { |
|
|
|
$flag = true; |
|
|
|
$flag = true; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$flag = false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//新保、续保 |
|
|
|
//新保、续保 |
|
|
@ -555,6 +561,8 @@ class MarketingStrategyController extends UserBaseController |
|
|
|
$tmp_type_id = 2; |
|
|
|
$tmp_type_id = 2; |
|
|
|
if(in_array($tmp_type_id, $type_ids)) { |
|
|
|
if(in_array($tmp_type_id, $type_ids)) { |
|
|
|
$flag = true; |
|
|
|
$flag = true; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$flag = false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if($flag) { |
|
|
|
if($flag) { |
|
|
|