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) {