관리자 - 일자별 콘텐츠 후원 정산 페이지 추가 #86

Merged
klaus merged 3 commits from test into main 2023-11-14 09:03:36 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 481f2e1126 - Show all commits

View File

@ -192,6 +192,11 @@ class AdminCalculateService(private val repository: AdminCalculateQueryRepositor
return GetCumulativeSalesByContentResponse(totalCount, items)
}
@Transactional(readOnly = true)
@Cacheable(
cacheNames = ["cache_ttl_3_hours"],
key = "'calculateContentDonationList:' + " + "#startDateStr + ':' + #endDateStr"
)
fun getCalculateContentDonationList(
startDateStr: String,
endDateStr: String