From 37307b8c091e9b35598bfa9420377c2734a80897 Mon Sep 17 00:00:00 2001 From: weizong song Date: Tue, 1 Aug 2023 11:33:11 +0800 Subject: [PATCH] up --- app/Http/Controllers/Admin/StatisticsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/StatisticsController.php b/app/Http/Controllers/Admin/StatisticsController.php index f92b514..3f97c20 100755 --- a/app/Http/Controllers/Admin/StatisticsController.php +++ b/app/Http/Controllers/Admin/StatisticsController.php @@ -281,7 +281,7 @@ class StatisticsController extends CommonController // ->whereRaw("UNIX_TIMESTAMP(`created_at`) <= {$before_datetime}") // ->where("project_id", $project_id); // }) - ->get(); + ->paninate(); $laravel_duration = microtime(true) - LARAVEL_START; return view($this->bladePath . ".customer-balance", compact("customers", "before_datetime", "project_id", "laravel_duration"));