File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
src/main/java/com/example/Jinus Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 44import com .example .Jinus .service .v2 .notice .NoticeServiceV2 ;
55import com .example .Jinus .service .v2 .userInfo .DepartmentServiceV2 ;
66import com .example .Jinus .service .v2 .userInfo .UserServiceV2 ;
7- import com .fasterxml .jackson .databind .ObjectMapper ;
87import lombok .RequiredArgsConstructor ;
9- import org .springframework .beans .factory .annotation .Autowired ;
108import org .springframework .web .bind .annotation .PostMapping ;
119import org .springframework .web .bind .annotation .RequestBody ;
1210import org .springframework .web .bind .annotation .RequestMapping ;
@@ -20,8 +18,6 @@ public class NoticeControllerV2 {
2018 private final NoticeServiceV2 noticeServiceV2 ;
2119 private final DepartmentServiceV2 departmentServiceV2 ;
2220 private final UserServiceV2 userServiceV2 ;
23- @ Autowired
24- private ObjectMapper objectMapper ;
2521
2622 // 학교 공지사항 조회
2723 @ PostMapping ("/v2/main-notice" )
Original file line number Diff line number Diff line change 1010public 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 }
You can’t perform that action at this time.
0 commit comments