mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-03 07:37:05 +00:00
fix: 邮件通知消息未读对象可能会出错的情况
This commit is contained in:
parent
68a7b55320
commit
4f5dce282b
@ -181,6 +181,7 @@ class EmailNoticeTask extends AbstractTask
|
||||
->join('web_socket_dialog_msg_reads as r', 'web_socket_dialog_msgs.id', '=', 'r.msg_id')
|
||||
->whereNull("r.read_at")
|
||||
->where("r.email", 0)
|
||||
->where("r.userid", $userid)
|
||||
->where("web_socket_dialog_msgs.dialog_type", $dialogType)
|
||||
->take(100)
|
||||
->get();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user