|
|
|
|
@ -55,9 +55,7 @@ class AutoSchoolmate extends Command
|
|
|
|
|
->where('start_date', '<=', $today);
|
|
|
|
|
})
|
|
|
|
|
// 方式2: 或者课程状态为进行中(即使 start_date 未及时填写)
|
|
|
|
|
->orWhere('course_status', 10)
|
|
|
|
|
// 方式3: 或者课程已结束
|
|
|
|
|
->orWhere('course_status', 40);
|
|
|
|
|
->orWhere('course_status', 10);
|
|
|
|
|
})
|
|
|
|
|
->get();
|
|
|
|
|
|
|
|
|
|
|