diff --git a/app/Models/CourseSign.php b/app/Models/CourseSign.php index 78933d2..29b3633 100755 --- a/app/Models/CourseSign.php +++ b/app/Models/CourseSign.php @@ -179,7 +179,7 @@ class CourseSign extends SoftDeletesModel public static function yhInvestedTotal($start_date = null, $end_date = null, $course_ids, $retList = false) { // 默认时间:获取所有学员,不限制课程 - $userIds = self::getStudentList($start_date, $end_date, 1, null)->get()->pluck('user_id'); + $userIds = self::getStudentList(null, null, 1, null)->get()->pluck('user_id'); // 获取这些学员所在的被投企业 $companies = Company::whereHas('users', function ($query) use ($userIds) {