fix: 无法打开项目的情况

This commit is contained in:
kuaifan
2024-11-07 22:26:21 +08:00
parent ff38be3187
commit a023c0b8bf
5 changed files with 42 additions and 3 deletions

View File

@@ -322,6 +322,7 @@ class BotReceiveMsgTask extends AbstractTask
->join('web_socket_dialogs as d', 'u.dialog_id', '=', 'd.id')
->where('u.userid', $data->userid)
->where('d.name', 'LIKE', "%{$nameKey}%")
->whereNull('d.deleted_at')
->orderByDesc('u.top_at')
->orderByDesc('u.last_at')
->take(20)