Compare commits

...

2 Commits

Author SHA1 Message Date
klaus 5a4be3d2c1 Merge pull request '콘텐츠 상세' (#190) from test into main
Reviewed-on: #190
2024-06-07 10:30:06 +00:00
Klaus ffc146df06 콘텐츠 상세
- 활성화 되어 있는 태그만 가져오도록 수정
2024-06-07 18:01:57 +09:00
2 changed files with 3 additions and 0 deletions

View File

@ -543,6 +543,7 @@ class AudioContentService(
}
val tag = audioContent.audioContentHashTags
.filter { it.isActive }
.map { it.hashTag!!.tag }
.joinToString(" ") { it }

View File

@ -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