|
|
|
@ -142,7 +142,7 @@ class OtherController extends CommonController
|
|
|
|
->whereNotIn('status', [4, 5])
|
|
|
|
->whereNotIn('status', [4, 5])
|
|
|
|
->where(function ($query) use ($courses) {
|
|
|
|
->where(function ($query) use ($courses) {
|
|
|
|
$query->whereIn('course_id', $courses->pluck('id'));
|
|
|
|
$query->whereIn('course_id', $courses->pluck('id'));
|
|
|
|
})->count();
|
|
|
|
})->distinct('user_id')->count();
|
|
|
|
// 审核通过人数
|
|
|
|
// 审核通过人数
|
|
|
|
$courseSign = CourseSign::where('status', 1)
|
|
|
|
$courseSign = CourseSign::where('status', 1)
|
|
|
|
->whereDate('created_at', '>=', $start_date)
|
|
|
|
->whereDate('created_at', '>=', $start_date)
|
|
|
|
|