콘텐츠 상세
- 활성화 되어 있는 태그만 가져오도록 수정
This commit is contained in:
@@ -543,6 +543,7 @@ class AudioContentService(
|
||||
}
|
||||
|
||||
val tag = audioContent.audioContentHashTags
|
||||
.filter { it.isActive }
|
||||
.map { it.hashTag!!.tag }
|
||||
.joinToString(" ") { it }
|
||||
|
||||
|
@@ -21,6 +21,8 @@ class AudioContentHashTag {
|
||||
|
||||
var createdAt: LocalDateTime? = null
|
||||
|
||||
var isActive: Boolean = true
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "content_id", nullable = false)
|
||||
var audioContent: AudioContent? = null
|
||||
|
Reference in New Issue
Block a user