fix(recommend): 장르 추천에서 요청자를 제외한다

This commit is contained in:
2026-06-08 10:11:42 +09:00
parent a50f658333
commit 29db5c3fd0
3 changed files with 134 additions and 0 deletions

View File

@@ -933,6 +933,7 @@ class DefaultHomeRecommendationQueryRepository(
and (:includeAdultGenres = true or c.is_adult = false)
and m.is_active = true
and m.role = 'CREATOR'
and (:memberId is null or m.id <> :memberId)
and not exists (
select 1
from creator_following cf
@@ -1009,6 +1010,7 @@ class DefaultHomeRecommendationQueryRepository(
and (:includeAdultGenres = true or c.is_adult = false)
and m.is_active = true
and m.role = 'CREATOR'
and (:memberId is null or m.id <> :memberId)
and not exists (
select 1
from creator_following cf
@@ -1052,6 +1054,7 @@ class DefaultHomeRecommendationQueryRepository(
and (:includeAdultGenres = true or c.is_adult = false)
and m.is_active = true
and m.role = 'CREATOR'
and (:memberId is null or m.id <> :memberId)
and not exists (
select 1
from creator_following cf