-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [rename] : CreditHistory, CreditType 패키지 이동 * [test] : CreditHistory, CreditType 패키지 이동 * [feat] : detail로 CreditType 찾는 메서드 추가 * [feat] : 크레딧 내역 목록 응답 DTO 추가 * [feat] : 크레딧 내역 목록 QueryDSL 추가 * [feat] : 크레딧 내역 목록 조회 Controller/Service 로직 추가 * [fix] : 크레딧 내역 조회 응답 DTO 필드 수정 * [feat] : 크레딧 내역 조회 시 '전체' 타입 값 처리 로직 추가 * [test] : 크레딧 내역 조회 Respository 단위테스트 추가 * [test] : 크레딧 내역 조회 Controller 통합테스트 추가 * [test] : merge 병합으로 인한 토큰 저장 위치 수정(header -> cookie) * [fix] 충돌 해결 * [test] 충돌 해결 * [test] : 크레딧 내역 필터 상황 테스트 실패 해결 * [fix] : type 필드 데이터 매칭 수정 * [test] : type 필드 매칭 데이터 변경으로 인한 수정 * [rename] : 응답 DTO 클래스명/필드명 네이밍 변경 * [test] : 응답 DTO 필드명 네이밍 변경에 따른 테스트 코드 수정 * [test] : queryString -> param() 수정 * [sytle] : 코드 포맷팅
- Loading branch information
Showing
18 changed files
with
503 additions
and
114 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ongmuin/credit_history/CreditHistory.java → .../credit_history/domain/CreditHistory.java
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
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
4 changes: 2 additions & 2 deletions
4
src/main/java/com/dnd/gongmuin/credit_history/dto/CreditHistoryMapper.java
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
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
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
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
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
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
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
21 changes: 21 additions & 0 deletions
21
src/main/java/com/dnd/gongmuin/member/dto/response/CreditHistoryResponse.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.dnd.gongmuin.member.dto.response; | ||
|
||
import com.dnd.gongmuin.credit_history.domain.CreditHistory; | ||
import com.querydsl.core.annotations.QueryProjection; | ||
|
||
public record CreditHistoryResponse( | ||
Long id, | ||
String type, | ||
String detail, | ||
int amount | ||
) { | ||
@QueryProjection | ||
public CreditHistoryResponse(CreditHistory creditHistory) { | ||
this( | ||
creditHistory.getId(), | ||
creditHistory.getType().getLabel(), | ||
creditHistory.getDetail(), | ||
creditHistory.getAmount() | ||
); | ||
} | ||
} |
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
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
Oops, something went wrong.