|
|
|
@ -260,7 +260,7 @@ class OtherController extends CommonController
|
|
|
|
|
|
|
|
|
|
|
|
$list['course_total'] = (clone $calendar)->count();
|
|
|
|
$list['course_total'] = (clone $calendar)->count();
|
|
|
|
// 开课天数
|
|
|
|
// 开课天数
|
|
|
|
$list['course_day_total'] = (clone $calendar)->where('is_count_days', 1)->sum('days');
|
|
|
|
$list['course_day_total'] = (clone $calendar)->sum('days');
|
|
|
|
|
|
|
|
|
|
|
|
$course_ids = $courses->pluck('id');
|
|
|
|
$course_ids = $courses->pluck('id');
|
|
|
|
|
|
|
|
|
|
|
|
|