From f830b2bc41100a1d347384313537161b60c49767 Mon Sep 17 00:00:00 2001 From: liangyuyan <1103300295@qq.com> Date: Thu, 24 Sep 2020 11:49:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=BB=9F=E8=AE=A1--=E7=8E=B0?= =?UTF-8?q?=E5=AD=98=E7=94=A8=E6=88=B7=E7=BB=9F=E8=AE=A1=E6=89=80=E6=9C=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Repositories/v3/OrderReport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Admin/Repositories/v3/OrderReport.php b/app/Admin/Repositories/v3/OrderReport.php index d81b0f1..98eb790 100644 --- a/app/Admin/Repositories/v3/OrderReport.php +++ b/app/Admin/Repositories/v3/OrderReport.php @@ -81,7 +81,7 @@ class OrderReport extends EloquentRepository $storeNewUserNewTwo->where([['created_at','>=',strtotime($startTime)]]); $storeNewUserNewThree->where([['created_at','>=',strtotime($startTime)]]); $storeNewUserNewFour->where([['created_at','>=',strtotime($startTime)]]); - $newUser->where([['created_at','>=',strtotime($startTime)]]); + // $newUser->where([['created_at','>=',strtotime($startTime)]]); } if($endTime){ $endTime = $endTime.' 23:59:59'; @@ -95,7 +95,7 @@ class OrderReport extends EloquentRepository $storeNewUserNewTwo->where([['created_at','<=',strtotime($endTime)]]); $storeNewUserNewThree->where([['created_at','<=',strtotime($endTime)]]); $storeNewUserNewFour->where([['created_at','<=',strtotime($endTime)]]); - $newUser->where([['created_at','<=',strtotime($endTime)]]); + // $newUser->where([['created_at','<=',strtotime($endTime)]]); } if(empty($startTime) && empty($endTime)){ $time = date('Y-m-d',time());