From 406776fc33083fdd2ce36c4a5ac256b176c02281 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Mon, 1 Jul 2024 13:52:55 +0800 Subject: [PATCH] update --- app/Http/Controllers/Admin/StatisticsController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/Admin/StatisticsController.php b/app/Http/Controllers/Admin/StatisticsController.php index f642462..2dd2150 100755 --- a/app/Http/Controllers/Admin/StatisticsController.php +++ b/app/Http/Controllers/Admin/StatisticsController.php @@ -551,7 +551,6 @@ class StatisticsController extends CommonController $total['order_total'] = $total['shouxufei'] = $total['zengshishui'] = $total['shijishouru'] = $total['guanlifei'] = 0; $area = []; foreach ($areaList as $item) { - $beds = Bed::where('area_id', $item->id)->where('project_id', $project_id)->get(); // 订单总数 $orderTotal = Balance::where('created_at', 'like', '%' . $month . '%') ->whereHas("order", function ($query) use ($project_id) {