|
|
@ -80,7 +80,7 @@ class ParkingAccessRecordExport implements FromArray, WithHeadings |
|
|
$query->where('id', 0); |
|
|
$query->where('id', 0); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (isset($parents['status']) && $parents['status']) { |
|
|
if (isset($parents['status']) && is_numeric($parents['status'])) { |
|
|
$query->where('status', $parents['status']); |
|
|
$query->where('status', $parents['status']); |
|
|
} |
|
|
} |
|
|
if (isset($parents['start_enter_time']) && isset($parents['end_enter_time'])) { |
|
|
if (isset($parents['start_enter_time']) && isset($parents['end_enter_time'])) { |
|
|
|