Skip to content

Commit

Permalink
Merge pull request #206 from CoolPeace-yanolza/bugfix/dashboard/by_ye…
Browse files Browse the repository at this point in the history
…ar_data

[bugfix] 연도별 데이터 key 값 변경
  • Loading branch information
KwonJuHwan authored Jan 26, 2024
2 parents c0a458e + 62f4a33 commit 5e35512
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ public CouponCountAvgResponse couponCountAvg(String memberId,Long accommodationI
return getCouponCountAvgResponse(type, localCouponDownload, address);
}

@Cacheable(value = "byYearCumulativeData", key = "#accommodationId+#year", cacheManager = "contentCacheManager")
@Cacheable(value = "byYearCumulativeData",
key = "T(String).valueOf(#accommodationId).concat(T(String).valueOf(#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 5e35512

Please sign in to comment.