From e492d29f4dcbba4aac78c2ead406063bab4233a8 Mon Sep 17 00:00:00 2001 From: ohyujeong Date: Mon, 24 Jun 2024 20:56:43 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=EA=B3=84=EC=A2=8C=20=EC=A0=84=EC=B2=B4?= =?UTF-8?q?=20=EC=A1=B0=ED=9A=8C=EC=97=90=20=EC=BA=90=EC=8B=B1=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/flab/tess/service/AccountService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/flab/tess/service/AccountService.java b/src/main/java/com/flab/tess/service/AccountService.java index 4539bd1..b99b132 100644 --- a/src/main/java/com/flab/tess/service/AccountService.java +++ b/src/main/java/com/flab/tess/service/AccountService.java @@ -27,13 +27,11 @@ public Account getAccountOne(BigInteger accountId){ return accountRepository.findById(accountId).orElse(null); } - @Cacheable(value = "accounts", key = "#user.userId") public List getAccounts(User user){ return accountRepository.findByUser(user); } @Transactional - @CacheEvict(value = "accounts", key = "#user.userId") public Account saveAccount(AccountCreateRequest accountCreateRequest, User user){ Account account = Account.of( user,