parent
93b0565368
commit
4370fef5d5
|
@ -75,7 +75,10 @@ class AdminHashTagCurationQueryRepositoryImpl(
|
||||||
return queryFactory
|
return queryFactory
|
||||||
.select(contentHashTagCuration.id)
|
.select(contentHashTagCuration.id)
|
||||||
.from(contentHashTagCuration)
|
.from(contentHashTagCuration)
|
||||||
.where(contentHashTagCuration.tag.eq(tag))
|
.where(
|
||||||
|
contentHashTagCuration.tag.eq(tag),
|
||||||
|
contentHashTagCuration.isActive.isTrue
|
||||||
|
)
|
||||||
.fetch().isNotEmpty()
|
.fetch().isNotEmpty()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,6 +90,7 @@ class AdminHashTagCurationService(
|
||||||
) ?: ContentHashTagCurationItem()
|
) ?: ContentHashTagCurationItem()
|
||||||
item.curation = curation
|
item.curation = curation
|
||||||
item.content = audioContent
|
item.content = audioContent
|
||||||
|
item.isActive = true
|
||||||
itemRepository.save(item)
|
itemRepository.save(item)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue