diff --git a/app/Models/CourseSign.php b/app/Models/CourseSign.php index c22c043..f4014d8 100755 --- a/app/Models/CourseSign.php +++ b/app/Models/CourseSign.php @@ -698,7 +698,7 @@ class CourseSign extends SoftDeletesModel */ public static function companyJoin($start_date = null, $end_date = null, $course_ids = null, $retList = false, $needHistory = true) { - $courseSignsQuery = self::getStudentList($start_date, $end_date, null, $course_ids); + $courseSignsQuery = self::getStudentList($start_date, $end_date, 1, $course_ids); $courseSignByType = $courseSignsQuery->get(); $list = User::whereIn('id', $courseSignByType->pluck('user_id'))