diff --git a/app/Models/CourseSign.php b/app/Models/CourseSign.php index 9b1f7b5..7bda817 100755 --- a/app/Models/CourseSign.php +++ b/app/Models/CourseSign.php @@ -357,7 +357,7 @@ class CourseSign extends SoftDeletesModel */ public static function genban($start_date = null, $end_date = null, $course_ids = null, $retList = false) { - $courseSignsQuery = self::getStudentList($start_date, $end_date, null, $course_ids); + $courseSignsQuery = self::getStudentList($start_date, $end_date, 1, $course_ids); // 获取需要统计跟班学员的课程 $genbanCourse = Course::whereHas('typeDetail', function ($query) { $query->where('is_count_genban', 1);