Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@Getter
@AllArgsConstructor
public class MatchingResponseDto {
private final Long boardId;
private final String tabStatus;
private final String dogName;
private final Gender dogGender;
Expand All @@ -20,10 +21,10 @@ public class MatchingResponseDto {
private final String walkerName;
private final String walkerProfile;
private final String walkMatchingStatus;
private final Long boardId;


public MatchingResponseDto() {
this.boardId = null;
this.tabStatus = null;
this.dogName = null;
this.dogGender = null;
Expand All @@ -35,6 +36,5 @@ public MatchingResponseDto() {
this.walkerName = null;
this.walkerProfile = null;
this.walkMatchingStatus = null;
this.boardId = null;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ else if (status.equals(WalkMatchingStatus.REJECT)) {
return queryFactory.selectDistinct(
Projections.constructor(MatchingResponseDto.class,
Expressions.constant(TabStatus.APPLY.name()),
board.boardId.as("boardId"),
apply.boardId.as("boardId"),
dog.name.as("dogName"),
dog.gender.as("dogGender"),
dog.profile.as("dogProfile"),
Expand Down
Loading