fix bug
This commit is contained in:
parent
b17d8c0281
commit
46015018fe
@ -575,7 +575,8 @@ class SendMsgCronJobService
|
||||
{
|
||||
try {
|
||||
$teacher_schedule_time = TeacherScheduleTime::where(['is_publish' => 1])
|
||||
->whereTime('start_time', '<=', date('Y-m-d H:i:s', strtotime('+10 minute')))
|
||||
->whereTime('start_time', '>=', date('Y-m-d H:i:s', strtotime('+10 minute')))
|
||||
->whereTime('start_time', '<=', date('Y-m-d H:i:s', strtotime('+11 minute')))
|
||||
->with(['teacherAttr', 'subject', 'studentSchedule'])
|
||||
->select();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user