콘텐츠 누적 매출 API - 캐시 키 이름 변경

This commit is contained in:
Klaus 2023-11-14 00:08:13 +09:00
parent 8da7ee0bb3
commit 3164232f9d
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class AdminCalculateService(private val repository: AdminCalculateQueryRepositor
@Transactional(readOnly = true)
@Cacheable(
cacheNames = ["cache_ttl_3_hours"],
key = "'getCumulativeSalesByContent:' + " + "#offset + ':' + #limit"
key = "'cumulativeSalesByContent:' + " + "#offset + ':' + #limit"
)
fun getCumulativeSalesByContent(offset: Long, limit: Long): GetCumulativeSalesByContentResponse {
val totalCount = repository.getCumulativeSalesByContentTotalCount()