-
Notifications
You must be signed in to change notification settings - Fork 1
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
[feat] 전체 회원 조회 #100
Merged
The head ref may contain hidden characters: "feature/99_kimhyun5u_\uC804\uCCB4-\uD68C\uC6D0-\uC870\uD68C"
Merged
[feat] 전체 회원 조회 #100
Conversation
This file contains 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
- RetrieveCustomerServiceTest.testRetrieveAllCustomers: 전체 구매자 조회 테스트 성공
- RetrieveCustomerService.retrieveAllCustomers: 전체 구매자 조회 로직
- CustomerApiControllerTest.testRetrieveCustomers: 전체 구매자 조회 테스트
- CustomerApiController.retrieveAllCustomers: 전체 구매자 조회 요청 처리
- RetrieveVendorServiceTest.testRetrieveVendors: 전체 판매자 조회 테스트
- VendorApiControllerTest.FindVendor: 전체 점주 조회 요청 테스트
- RetrieveVendorService.retrieveVendors: 전체 점주 조회 로직
- VendorApiController.retrieveVendors: 전체 점주 조회 요청 처리
- assertEquals actual 과 expected 정확한 위치로 가도록 수정
Closed
Dr-KoKo
previously requested changes
Aug 17, 2024
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.
소소한 요청 하나 남겼습니다. 확인 부탁드려요
src/test/java/camp/woowak/lab/web/api/vendor/VendorApiControllerTest.java
Show resolved
Hide resolved
june-777
reviewed
Aug 17, 2024
src/main/java/camp/woowak/lab/web/dto/response/customer/RetrieveCustomerResponse.java
Outdated
Show resolved
Hide resolved
src/main/java/camp/woowak/lab/customer/service/RetrieveCustomerService.java
Show resolved
Hide resolved
- VendorDTO, CustomerDTO, PayAccountDTO
june-777
approved these changes
Aug 17, 2024
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.
확인 완료입니다!
- Vendor 와 Customer 가 보여주고 싶은 PayAccount의 정보가 다를 수 있으므로 각 DTO 안에 종속된 PayAccount 정보를 가지도록 수정
Hyeon-Uk
approved these changes
Aug 17, 2024
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.
💡 다음 이슈를 해결했어요.
Issue Link - #99
💡 이슈를 처리하면서 추가된 코드가 있어요.
RetrieveCustomerSerivce
,RetrieveVendorSerivce
추가: 각각 구매자와 점주를 조회하는 서비스 입니다.VendorApiController
,CustomerApiController
수정: 전체 구매자와 점주를 조회하는 요청 처리할 수 있도록 endpoint 를 추가했습니다.관리자는 논리적으로 존재하지만 실제로 구현하기는 무리가 있을 것으로 판단해 일단 임의로 관리자란 이 애플리케이션을 사용하는 모든 사람이라고 규정하고 권한을 모두 열어두어 조회가 가능하도록 구현했습니다.
💡 이런 고민을 했어요.
✅ 셀프 체크리스트