mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 11:26:25 +00:00
Compare commits
No commits in common. "3227db01cdc3ec144ccf638ee8a8be63cebebda7" and "de9f88ff0c2750a53ee42c4b3c210477f5011614" have entirely different histories.
3227db01cd
...
de9f88ff0c
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
File diff suppressed because it is too large
Load Diff
@ -103,8 +103,8 @@ public class DashboardDTO {
|
||||
.meetingId(meeting.getMeetingId())
|
||||
.title(meeting.getTitle())
|
||||
.startTime(meeting.getScheduledAt())
|
||||
.endTime(meeting.getEndTime())
|
||||
.location(meeting.getLocation())
|
||||
.endTime(null) // Meeting 도메인에 endTime이 없음
|
||||
.location(null) // Meeting 도메인에 location이 없음
|
||||
.participantCount(meeting.getParticipants() != null ? meeting.getParticipants().size() : 0)
|
||||
.status(meeting.getStatus())
|
||||
.userRole(currentUserId.equals(meeting.getOrganizerId()) ? "CREATOR" : "PARTICIPANT")
|
||||
|
||||
@ -177,13 +177,12 @@ public class EndMeetingService implements EndMeetingUseCase {
|
||||
*/
|
||||
private MinutesEntity getOrCreateConsolidatedMinutes(MeetingEntity meeting) {
|
||||
// userId가 NULL인 회의록 찾기 (AI 통합 회의록)
|
||||
List<MinutesEntity> existingList = minutesRepository
|
||||
Optional<MinutesEntity> existing = minutesRepository
|
||||
.findByMeetingIdAndUserIdIsNull(meeting.getMeetingId());
|
||||
|
||||
if (!existingList.isEmpty()) {
|
||||
MinutesEntity existing = existingList.get(0);
|
||||
log.debug("기존 통합 회의록 사용 - minutesId: {}", existing.getMinutesId());
|
||||
return existing;
|
||||
if (existing.isPresent()) {
|
||||
log.debug("기존 통합 회의록 사용 - minutesId: {}", existing.get().getMinutesId());
|
||||
return existing.get();
|
||||
}
|
||||
|
||||
// 없으면 새로 생성
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user