|
|
@@ -71,7 +71,11 @@ class ViolationProduct extends Controller
|
|
|
$shipment_province_ids = request('shipment_province_ids', '');
|
|
|
$shipment_city_ids = request('shipment_city_ids', '');
|
|
|
$product_brand = request('product_brand', '');
|
|
|
+ $collection_time_start_time = request('collection_time_start_time', '');
|
|
|
+ $collection_time_end_time = request('collection_time_end_time', '');
|
|
|
// 时间条件
|
|
|
+ if ($collection_time_start_time) $map[] = ['collection_time', '>=', strtotime($collection_time_start_time)];
|
|
|
+ if ($collection_time_end_time) $map[] = ['collection_time', '<=', strtotime($collection_time_end_time)];
|
|
|
if ($start_time) $map[] = ['insert_time', '>=', strtotime($start_time)];
|
|
|
if ($end_time) $map[] = ['insert_time', '<=', strtotime($end_time)];
|
|
|
// 其他条件
|