From b9da5ff3aa91b1330509f9217999073c0c3737e9 Mon Sep 17 00:00:00 2001 From: liangyuyan <1103300295@qq.com> Date: Wed, 19 Aug 2020 11:39:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E6=96=B0=E5=A2=9E=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=8A=A5=E8=A1=A8--=E4=BF=AE=E6=94=B9=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/StoreUserReportController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Admin/Controllers/StoreUserReportController.php b/app/Admin/Controllers/StoreUserReportController.php index 5b48cd5..e00ebbc 100644 --- a/app/Admin/Controllers/StoreUserReportController.php +++ b/app/Admin/Controllers/StoreUserReportController.php @@ -48,10 +48,10 @@ class StoreUserReportController extends AdminController $start = $this->input['start'] ?? null; $end = $this->input['end'] ?? null; if ($start !== null) { - $q->whereRaw('time >= ?',$start); + $q->whereRaw("ims_cjdc_store_account.time >= ?",$start); } if ($end !== null) { - $q->whereRaw('time <= ?',$end); + $q->whereRaw("ims_cjdc_store_account.time <= ?",$end); } })->datetime(); });