[feat/#322] 임장 리스트 - 공유하기 선택 API 구현 #339
Merged
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.
작업내용
임장 리스트 - 공유하기 선택 API 구현

상세설명_ & 캡쳐
로컬에서 테스트 완료
임장 리포지토리에서 가져올 때 rewardPencil이 null이 아닌 것들을 가져오도록 구현했습니다.
리스트 중 이미지 1개만 가져오게 하는 부분을 QueryDSL을 통해서 구현했습니다.
결과
{ "isSuccess": true, "code": "COMMON200", "message": "성공입니다.", "result": { "notes": [ { "noteId": 1, "purposeType": "RESIDENTIAL_PURPOSE", "propertyType": "APARTMENT", "priceType": "MARKET_PRICE", "name": "내집", "imageUrl": "https://juinjangbucket.s3.ap-northeast-2.amazonaws.com/image/2536fc00-eef1-4c99-baa3-3103c49d08d8free-icon-github-logo-25231.png", "isScraped": false, "rate": null, "price": "2200000000", "monthlyRent": null, "pyong": 10, "floor": "10", "shortAddress": "강남구 신사동", "rewardPencil": 3 }, { "noteId": 2, "purposeType": "INVESTMENT", "propertyType": "APARTMENT", "priceType": "SALE", "name": "내집", "imageUrl": null, "isScraped": false, "rate": null, "price": "100000", "monthlyRent": null, "pyong": 10, "floor": "5", "shortAddress": "구리시 인창동", "rewardPencil": 3 } ] } }