Compare commits

...

2 Commits

Author SHA1 Message Date
Klaus 97b2b38f8e fix: 크리에이터 관리자, 관리자 콘텐츠 리스트
- isActive = True 태그만 조회되도록 수정
2025-06-02 20:25:54 +09:00
Klaus 2268f4a3fc fix: 크리에이터 관리자 콘텐츠 수정 - 태그 수정 기능
- 빈 칸인 경우 #으로 추가되는 버그 수정
2025-06-02 20:21:50 +09:00
3 changed files with 3 additions and 1 deletions

View File

@ -140,6 +140,7 @@ class AdminAudioContentQueryRepositoryImpl(
audioContent.duration.isNotNull
.and(audioContent.member.isNotNull)
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
.and(audioContentHashTag.isActive.isTrue)
)
.fetch()
}

View File

@ -114,6 +114,7 @@ class CreatorAdminAudioContentQueryRepositoryImpl(
audioContent.duration.isNotNull
.and(audioContent.member.isNotNull)
.and(audioContentHashTag.audioContent.id.eq(audioContentId))
.and(audioContentHashTag.isActive.isTrue)
)
.fetch()
}

View File

@ -165,8 +165,8 @@ class CreatorAdminContentService(
val normalizedTags = request.tags
.replace("#", " #")
.split(" ")
.map { if (it.startsWith("#")) it else "#$it" }
.map { it.trim() }
.map { if (it.startsWith("#")) it else "#$it" }
.filter { it.isNotBlank() }
.distinct()