|
|
@@ -102,10 +102,10 @@ class OrderService extends BaseService
|
|
|
$start = $date[0] ?? '';
|
|
|
$end = $date[1] ?? '';
|
|
|
if ($start) {
|
|
|
- $query->where('a.create_time', '>=', strtotime($start));
|
|
|
+ $query->where('create_time', '>=', strtotime($start));
|
|
|
}
|
|
|
if ($end && $start < $end) {
|
|
|
- $query->where('a.create_time', '<=', strtotime($end));
|
|
|
+ $query->where('create_time', '<=', strtotime($end));
|
|
|
}
|
|
|
}
|
|
|
|