|
|
|
@ -707,7 +707,7 @@ class OtherController extends CommonController
|
|
|
|
|
|
|
|
|
|
|
|
case 'course_day_total':
|
|
|
|
case 'course_day_total':
|
|
|
|
// 开课天数明细 - 与coursesHome算法一致
|
|
|
|
// 开课天数明细 - 与coursesHome算法一致
|
|
|
|
$calendars = Calendar::whereIn('course_id', $course_ids)
|
|
|
|
$calendars = Calendar::where('is_count_days', 1)
|
|
|
|
->whereBetween('date', [$start_date, $end_date])
|
|
|
|
->whereBetween('date', [$start_date, $end_date])
|
|
|
|
->with('course')
|
|
|
|
->with('course')
|
|
|
|
->get();
|
|
|
|
->get();
|
|
|
|
|