master
cody 8 months ago
parent 0c3ab1cd18
commit 24a409a6dd

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

Loading…
Cancel
Save