|
|
|
@ -270,14 +270,7 @@ class Task extends BaseController |
|
|
|
|
return json($this->json_data); |
|
|
|
|
} |
|
|
|
|
if ($type == 3 || $type == 4) { |
|
|
|
|
$where = []; |
|
|
|
|
if($params['export_date1'] != ''){ |
|
|
|
|
$where[] = ['car_info_t.register_date', '>=', $params['export_date1']]; |
|
|
|
|
} |
|
|
|
|
if($params['export_date2'] != ''){ |
|
|
|
|
$where[] = ['car_info_t.register_date', '<=', $params['export_date2']]; |
|
|
|
|
} |
|
|
|
|
$count = CarInfoT::where($where)->count(); |
|
|
|
|
$count = CarInfoT::count(); |
|
|
|
|
if ($count <= 0) { |
|
|
|
|
$this->json_data['code'] = 0; |
|
|
|
|
$this->json_data['msg'] = '当前待处理数据为空,请检查条件'; |
|
|
|
|