diff --git a/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java b/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java index dba5728..feabc82 100644 --- a/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java +++ b/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java @@ -17,7 +17,6 @@ public class CouponQueryService { private final CouponRepository couponRepository; - @Cacheable(value = "dailyReport", key = "#accommodationId",cacheManager = "contentCacheManager") public CouponDailyResponse dailyReport(String jwtPrincipal, Long accommodationId) { Long memberId = Long.valueOf(jwtPrincipal); diff --git a/src/main/java/com/coolpeace/domain/coupon/service/CouponService.java b/src/main/java/com/coolpeace/domain/coupon/service/CouponService.java index d2d573f..b30c96f 100644 --- a/src/main/java/com/coolpeace/domain/coupon/service/CouponService.java +++ b/src/main/java/com/coolpeace/domain/coupon/service/CouponService.java @@ -89,7 +89,6 @@ public List getRecentHistory(Long memberId) { } @Transactional - @CacheEvict(value = "dailyReport", key = "#couponRegisterRequest.accommodationId()", cacheManager = "contentCacheManager") public void register(Long memberId, CouponRegisterRequest couponRegisterRequest) { Member storedMember = memberRepository.findById(memberId) .orElseThrow(MemberNotFoundException::new);