|
|
@ -529,6 +529,21 @@ class Task extends BaseController |
|
|
|
$where[] = ['is_export_failed_bmc', '=', 0]; |
|
|
|
$where[] = ['is_export_failed_bmc', '=', 0]; |
|
|
|
$where[] = ['is_export_none_bmc', '=', 0]; |
|
|
|
$where[] = ['is_export_none_bmc', '=', 0]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if ($params['export_type'] == 'success_bmc') { |
|
|
|
|
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|
|
|
|
|
$where[] = ['is_update_bhx', '>', 0]; |
|
|
|
|
|
|
|
$where[] = ['is_export_bmc', '>', 0]; |
|
|
|
|
|
|
|
$insurer_date1 = $params['insurer_date1']??''; |
|
|
|
|
|
|
|
$insurer_date2 = $params['insurer_date2']??''; |
|
|
|
|
|
|
|
if($insurer_date1!=''){ |
|
|
|
|
|
|
|
$map_or1[] = ['car_info_t.insurer1_date', '>=', $insurer_date1]; |
|
|
|
|
|
|
|
$map_or2[] = ['car_info_t.insurer2_date', '>=', $insurer_date1]; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if($insurer_date2!=''){ |
|
|
|
|
|
|
|
$map_or1[] = ['car_info_t.insurer1_date', '<=', $insurer_date2]; |
|
|
|
|
|
|
|
$map_or2[] = ['car_info_t.insurer2_date', '<=', $insurer_date2]; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
$insurer_month1 = $params['insurer_month1']??''; |
|
|
|
$insurer_month1 = $params['insurer_month1']??''; |
|
|
|
$insurer_day1 = $params['insurer_day1']??''; |
|
|
|
$insurer_day1 = $params['insurer_day1']??''; |
|
|
|