test #340

Merged
klaus merged 11 commits from test into main 2025-09-14 08:51:12 +00:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit 0ed29c6097 - Show all commits

View File

@ -6,12 +6,16 @@ import kr.co.vividnext.sodalive.can.use.CanUsage
import kr.co.vividnext.sodalive.can.use.QUseCan.useCan
import kr.co.vividnext.sodalive.chat.character.QChatCharacter.chatCharacter
import kr.co.vividnext.sodalive.chat.character.image.QCharacterImage.characterImage
import org.springframework.beans.factory.annotation.Value
import org.springframework.stereotype.Repository
import java.time.LocalDateTime
@Repository
class AdminChatCalculateQueryRepository(
private val queryFactory: JPAQueryFactory
private val queryFactory: JPAQueryFactory,
@Value("\${cloud.aws.cloud-front.host}")
private val imageHost: String
) {
fun getCharacterCalculate(
startUtc: LocalDateTime,
@ -39,7 +43,7 @@ class AdminChatCalculateQueryRepository(
QChatCharacterCalculateQueryData(
chatCharacter.id,
chatCharacter.name,
chatCharacter.imagePath,
chatCharacter.imagePath.prepend("/").prepend(imageHost),
imageSum,
messageSum
)