Skip to content

Commit

Permalink
[bugfix] 연도별 통계, 레디스 키 값 연도도 적용되도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
KwonJuHwan committed Jan 25, 2024
1 parent 5a048b8 commit 6eb6cf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public CouponCountAvgResponse couponCountAvg(String memberId,Long accommodationI
return getCouponCountAvgResponse(type, localCouponDownload, address);
}

@Cacheable(value = "byYearCumulativeData", key = "#accommodationId", cacheManager = "contentCacheManager")
@Cacheable(value = "byYearCumulativeData", key = "#accommodationId+#year", cacheManager = "contentCacheManager")
public ByYearCumulativeDataResponse byYearCumulativeData(int year, String memberId, Long accommodationId) {
Accommodation accommodation = checkAccommodationMatchMember(memberId, accommodationId);
List<MonthlyStatistics> monthlyStatisticsList = monthlyStatisticsRepository
Expand Down

0 comments on commit 6eb6cf0

Please sign in to comment.