mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
fix: 任务第二次邮件提醒判断错误修改
This commit is contained in:
parent
b610dc4969
commit
0f6408d7f6
@ -34,8 +34,8 @@ class OverdueRemindEmailTask extends AbstractTask
|
||||
}
|
||||
if ($hours2 > 0) {
|
||||
$taskLists2 = ProjectTask::whereNull('complete_at')
|
||||
->where('end_at', '>=', Carbon::now()->subMinutes($hours2 * 60 - 3)->rawFormat('Y-m-d H:i:s'))
|
||||
->where('end_at', '<=', Carbon::now()->subMinutes($hours * 60 + 3)->rawFormat('Y-m-d H:i:s'))
|
||||
->where('end_at', '>=', Carbon::now()->subMinutes($hours2 * 60 + 3)->rawFormat('Y-m-d H:i:s'))
|
||||
->where('end_at', '<=', Carbon::now()->subMinutes($hours2 * 60 - 3)->rawFormat('Y-m-d H:i:s'))
|
||||
->whereNull('archived_at')
|
||||
->take(100)
|
||||
->get()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user