콘텐츠 메인 홈, 모닝콜, asmr, 단편, 무료, 다시듣기, 시리즈

- 남성향, 여성향 선택한 유저의 경우 해당 성향의 콘텐츠 + 미인증 크리에이터의 콘텐츠를 보여주도록 수정
This commit is contained in:
2025-03-18 17:10:19 +09:00
parent b3b3d46696
commit c7eae53b22
8 changed files with 285 additions and 108 deletions

View File

@@ -137,7 +137,15 @@ class ContentSeriesQueryRepositoryImpl(
} else {
if (contentType != ContentType.ALL) {
where = where.and(
series.member.auth.gender.eq(if (contentType == ContentType.MALE) 0 else 1)
series.member.isNull.or(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
)
)
)
}
}
@@ -171,12 +179,14 @@ class ContentSeriesQueryRepositoryImpl(
} else {
if (contentType != ContentType.ALL) {
where = where.and(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
series.member.isNull.or(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
)
)
)
}
@@ -207,12 +217,14 @@ class ContentSeriesQueryRepositoryImpl(
} else {
if (contentType != ContentType.ALL) {
where = where.and(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
series.member.isNull.or(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
)
)
)
}
@@ -253,12 +265,14 @@ class ContentSeriesQueryRepositoryImpl(
} else {
if (contentType != ContentType.ALL) {
where = where.and(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
series.member.isNull.or(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
)
)
)
}
@@ -300,7 +314,15 @@ class ContentSeriesQueryRepositoryImpl(
} else {
if (contentType != ContentType.ALL) {
where = where.and(
series.member.auth.gender.eq(if (contentType == ContentType.MALE) 0 else 1)
series.member.isNull.or(
series.member.auth.gender.eq(
if (contentType == ContentType.MALE) {
0
} else {
1
}
)
)
)
}
}