test #340
| @@ -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 | ||||
|                 ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user