-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor/#54 제휴 장소 관련 조회 기능 성능 최적화 #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
34d19eb
refactor: StudentCouncilPostForUserController 컨벤션 수정
1winhyun 9afd668
refactor: 리스트로 제휴 전체 조회 기능 내 좋아요 여부/이미지 조회 반복문(Stream) 안에서 DB 호출 로직을 …
1winhyun 67e5823
refactor: 리스트로 제휴 전체 조회 기능 내 Java 단에서의 filter를 DB 쿼리로 바꿔 무한 스크롤 오류 방지
1winhyun 01a107e
refactor: findPinsInBounds 쿼리문 기존 게시글 가져오고 필요할 때마다 장소를 조회하는 로직 Studen…
1winhyun 76068d9
refactor: partnership 패키지 내 클래스 Place 패키지로 이동
1winhyun 32d024d
refactor: 이미지 제대로 불러와지지 않으며 저장되지 않는 오류 해결 및 학생회 게시글 생성 시 해당 장소 이미지 저장…
1winhyun 5607e98
refactor: 이미지 마이그레이션 로직 수정
1winhyun f48eabe
refactor: findOrCreatePlace 파라미터 변경
1winhyun 38fc648
refactor: findOrCreatePlace 장소 동시 생성(동시성 문제) 해결을 위한 try-catch문 적용
1winhyun baa34e4
refactor: findOrCreatePlace @Trasactional 어노테이션 삭제
1winhyun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
124 changes: 0 additions & 124 deletions
124
src/main/java/com/campus/campus/domain/partnership/presentation/PartnershipController.java
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
src/main/java/com/campus/campus/domain/partnership/presentation/PartnershipResponseCode.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../dto/response/PartnershipPinResponse.java → .../dto/response/PartnershipPinResponse.java
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: our-campUS/our-campUS-BE
Length of output: 1752
🏁 Script executed:
Repository: our-campUS/our-campUS-BE
Length of output: 12179
🏁 Script executed:
Repository: our-campUS/our-campUS-BE
Length of output: 19757
create() 메서드의 null 체크 부재로 인한 일관성 문제
PostRequest의place필드에는@NotNull검증이 적용되어 있지만,update()메서드(line 216)에서는if (dto.place() != null && ...)체크가 있는 반면,create()메서드(line 73)에서는dto.place()를 null 체크 없이 바로 전달합니다. 검증 레이어에서@NotNull로 보호되더라도,update()메서드의 방어적 프로그래밍 접근과 일관성 있게create()메서드에도 동일한 null 체크를 추가하는 것이 좋습니다.🤖 Prompt for AI Agents