Backend/yujin/refactoring#8
Open
scholar-star wants to merge 5 commits intomainfrom
Open
Conversation
- Place, ServiceCategory, CategoryMapping 엔티티 생성 - 위치(lat, lng) 기반 500m 범위 조회 로직 구현 - 카테고리별 랜덤 추천(한잔2, 한입2, 한숨1, 한손1, 한눈1) 로직 추가 - PlaceRepository 랜덤 조회 쿼리 구현 (PostgreSQL RANDOM()) - RecommendationService 비즈니스 로직 구현 - RecommendationController API 추가 (/places/recommend) - 추천 결과 응답 DTO 및 도보 시간 계산 로직 구현 - data.sql 초기 데이터 삽입 설정 추가
# Conflicts: # .idea/compiler.xml # backend/src/main/java/_team/onmyway/controller/RecommendationController.java # backend/src/main/java/_team/onmyway/entity/Place.java # backend/src/main/java/_team/onmyway/repository/PlaceRepository.java # backend/src/main/java/_team/onmyway/repository/ServiceCategoryRepository.java # backend/src/main/java/_team/onmyway/service/RecommendationService.java # backend/src/main/resources/data.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경점 👍
예외 처리 로직을 하나 추가하였고, 인덱싱을 추가해 검색 시간을 낮췄습니다!
테스트 💻
인덱싱의 경우 Postman으로 테스트를 진행하였을 때, 시간이 3초대에서 0초대로 감소하는 것을 확인하였습니다.