@ -562,7 +562,7 @@ class StatisticsController extends CommonController
$month = request()->month ?? date("Y-m");
$months = $this->_getMonths();
// 当月天数
// 当月天数1
$days = date('t', strtotime($month));
$area = Area::withCount('beds')->where('project_id', $project_id)->get();
$beds = Bed::whereIn('area_id', $area->pluck('id'))->where('project_id', $project_id)->get();