관리자 일자별 콘텐츠 후원 정산 페이지 - 캐시 추가
This commit is contained in:
parent
9751900193
commit
481f2e1126
|
@ -192,6 +192,11 @@ class AdminCalculateService(private val repository: AdminCalculateQueryRepositor
|
||||||
return GetCumulativeSalesByContentResponse(totalCount, items)
|
return GetCumulativeSalesByContentResponse(totalCount, items)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Transactional(readOnly = true)
|
||||||
|
@Cacheable(
|
||||||
|
cacheNames = ["cache_ttl_3_hours"],
|
||||||
|
key = "'calculateContentDonationList:' + " + "#startDateStr + ':' + #endDateStr"
|
||||||
|
)
|
||||||
fun getCalculateContentDonationList(
|
fun getCalculateContentDonationList(
|
||||||
startDateStr: String,
|
startDateStr: String,
|
||||||
endDateStr: String
|
endDateStr: String
|
||||||
|
|
Loading…
Reference in New Issue