fix: 크리에이터 관리자, 관리자 콘텐츠 리스트
- isActive = True 태그만 조회되도록 수정
This commit is contained in:
parent
2268f4a3fc
commit
97b2b38f8e
|
@ -140,6 +140,7 @@ class AdminAudioContentQueryRepositoryImpl(
|
||||||
audioContent.duration.isNotNull
|
audioContent.duration.isNotNull
|
||||||
.and(audioContent.member.isNotNull)
|
.and(audioContent.member.isNotNull)
|
||||||
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
||||||
|
.and(audioContentHashTag.isActive.isTrue)
|
||||||
)
|
)
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,6 +114,7 @@ class CreatorAdminAudioContentQueryRepositoryImpl(
|
||||||
audioContent.duration.isNotNull
|
audioContent.duration.isNotNull
|
||||||
.and(audioContent.member.isNotNull)
|
.and(audioContent.member.isNotNull)
|
||||||
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
|
||||||
|
.and(audioContentHashTag.isActive.isTrue)
|
||||||
)
|
)
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue