Skip to content

Conversation

@sehyeo
Copy link
Contributor

@sehyeo sehyeo commented May 15, 2025

📝 작업 내용

(ex. 구직정보 서비스 로직)
Long userId, Long jobInfoId -> Long jobInfoId, Long userId 으로 수정하였더니 해결

repository 코드를 살펴보니
Optional<JobInfo> findByIdAndUserId(@Param("jobInfoId") Long jobInfoId, @Param("userId") Long userId);
매개변수를 Long jobInfoId, Long userId 순서로 설정했던 것이 원인 -> 순서에 맞게 서비스 로직 수정하니 해결!

🔍 테스트 방법

x

@sehyeo sehyeo self-assigned this May 15, 2025
@sehyeo sehyeo added the 🐞 bug 버그 수정 label May 15, 2025
@sehyeo sehyeo merged commit 20f813c into main May 15, 2025
2 checks passed
@sehyeo sehyeo deleted the bug/#49 branch May 15, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants