Skip to content

Commit

Permalink
[HOTFIX] 최근 모임 목록 조회 리스폰스 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ehs208 committed Feb 5, 2025
1 parent 33239a1 commit 068ebae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,12 @@ public UpcomingMeetingResponseDto findUpcomingMeeting(Long memberId) {
.select(offlineMeeting.meetingPlace)
.from(offlineMeeting)
.where(offlineMeeting.id.eq(meeting.id))),
"meetingLocation")
"meetingLocation"),
JPAExpressions
.select(offlineMeeting.offlineMeetingCategory)
.from(offlineMeeting)
.where(offlineMeeting.id.eq(meeting.id)),
meeting.type
))
.from(meeting)
.join(meetingParticipant).on(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,25 @@

import java.time.LocalDateTime;

import com.example.eatmate.app.domain.meeting.domain.OfflineMeetingCategory;

import lombok.Getter;

@Getter
public class UpcomingMeetingResponseDto {
private String nickname;
private LocalDateTime meetingTime;
private String meetingLocation;
private OfflineMeetingCategory offlineMeetingCategory;
private String type;

public UpcomingMeetingResponseDto(String nickname, LocalDateTime meetingTime, String meetingLocation) {
public UpcomingMeetingResponseDto(String nickname, LocalDateTime meetingTime, String meetingLocation,
OfflineMeetingCategory offlineMeetingCategory, String type) {
this.nickname = nickname;
this.meetingTime = meetingTime;
this.meetingLocation = meetingLocation;
this.offlineMeetingCategory = offlineMeetingCategory;
this.type = type;

}
}

0 comments on commit 068ebae

Please sign in to comment.