Skip to content

Commit b7c72f4

Browse files
authored
식당 캐싱 주석처리 (#34)
* [Fix]Test 코드 수정 * [Refactor]CafeteriaServiceV2 단일 책임 원칙 적용하여 클래스 분리 * Update Java CI-CD.yml dependency submission code removed * [Refactor]CampusServiceV2 클래스 분리 * [Refactor]DietServiceV2 서비스 클래스 분리 * [fix]Cafeteria Cacheable 주석처리
1 parent daad2de commit b7c72f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/example/Jinus/service/v2/cafeteria/CafeteriaQueryServiceV2.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
public class CafeteriaQueryServiceV2 {
1111
private final CafeteriaRepositoryV2 cafeteriaRepositoryV2;
1212

13-
@Cacheable(value = "cafeteriaId", key = "#campusId + '::' + #cafeteriaName",
14-
unless = "#result == -1",
15-
cacheManager = "contentCacheManager")
13+
// @Cacheable(value = "cafeteriaId", key = "#campusId + '::' + #cafeteriaName",
14+
// unless = "#result == -1",
15+
// cacheManager = "contentCacheManager")
1616
public int getCafeteriaId(String cafeteriaName, int campusId) {
1717
return cafeteriaRepositoryV2.findCafeteriaId(cafeteriaName, campusId).orElse(-1);
1818
}

0 commit comments

Comments
 (0)