|
|
@ -48,10 +48,10 @@ class StoreUserReportController extends AdminController |
|
|
$start = $this->input['start'] ?? null; |
|
|
$start = $this->input['start'] ?? null; |
|
|
$end = $this->input['end'] ?? null; |
|
|
$end = $this->input['end'] ?? null; |
|
|
if ($start !== null) { |
|
|
if ($start !== null) { |
|
|
$q->whereRaw('time >= ?',$start); |
|
|
|
|
|
|
|
|
$q->whereRaw("ims_cjdc_store_account.time >= ?",$start); |
|
|
} |
|
|
} |
|
|
if ($end !== null) { |
|
|
if ($end !== null) { |
|
|
$q->whereRaw('time <= ?',$end); |
|
|
|
|
|
|
|
|
$q->whereRaw("ims_cjdc_store_account.time <= ?",$end); |
|
|
} |
|
|
} |
|
|
})->datetime(); |
|
|
})->datetime(); |
|
|
}); |
|
|
}); |
|
|
|