Skip to content

Commit

Permalink
[HOTFIX] 캐싱 결과 데이터 EL 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Nov 28, 2023
1 parent 8cfce96 commit fd98feb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public PathController(PathService pathService) {
value = "carPath",
key = "{#request}",
cacheManager = "cacheManager",
unless = "result.body.code != 0")
unless = "#result.body.code != 0")
public ResponseEntity<SearchCarPathResponse> searchCarPath(
@RequestBody @Valid SearchCarPathRequest request) {
return ResponseEntity.ok(pathService.searchCarPath(request));
Expand All @@ -37,7 +37,7 @@ public ResponseEntity<SearchCarPathResponse> searchCarPath(
value = "pedPath",
key = "{#request}",
cacheManager = "cacheManager",
unless = "result.body.features.size() <= 0")
unless = "#result.body.features.size() <= 0")
public ResponseEntity<SearchPedPathResponse> searchPedPath(
@RequestBody @Valid SearchPedPathRequest request) {
return ResponseEntity.ok(pathService.searchPedPath(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class PlaceController {
value = "surroundPlace",
key = "{#surroundPlaceRequest}",
cacheManager = "cacheManager",
unless = "result.body.results.size() <= 0")
unless = "#result.body.results.size() <= 0")
public ResponseEntity<PlaceResponse> searchSurroundPlace(
@ModelAttribute final SurroundPlaceRequest surroundPlaceRequest) {
return ResponseEntity.ok(placeService.searchSurroundPlace(surroundPlaceRequest));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class PlanController {
value = "planDestination",
key = "{#request}",
cacheManager = "cacheManager",
unless = "result.body.results.size() <= 0")
unless = "#result.body.results.size() <= 0")
public ResponseEntity<PlanDestinationResponse> searchPlanDestination(
@ModelAttribute final SearchDestinationRequest request) {
return ResponseEntity.ok(planService.searchPlanDestination(request));
Expand Down

0 comments on commit fd98feb

Please sign in to comment.