Skip to content

Commit

Permalink
Merge pull request #298 from ASAP-as-soon-as-possible/feat/#297
Browse files Browse the repository at this point in the history
#297 [feat] 신규 추천 로직 적용
  • Loading branch information
KWY0218 authored Aug 5, 2024
2 parents 554c59d + ca83b13 commit 46be6b5
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 514 deletions.
30 changes: 15 additions & 15 deletions src/main/java/com/asap/server/service/MeetingService.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,21 @@
import static com.asap.server.common.exception.Error.INVALID_MEETING_HOST_EXCEPTION;
import static com.asap.server.common.exception.Error.MEETING_VALIDATION_FAILED_EXCEPTION;

import com.asap.server.common.utils.DateUtil;
import com.asap.server.common.exception.Error;
import com.asap.server.common.exception.model.ConflictException;
import com.asap.server.common.exception.model.ForbiddenException;
import com.asap.server.common.exception.model.NotFoundException;
import com.asap.server.common.exception.model.UnauthorizedException;
import com.asap.server.common.jwt.JwtService;
import com.asap.server.common.utils.DateUtil;
import com.asap.server.persistence.domain.ConfirmedDateTime;
import com.asap.server.persistence.domain.Meeting;
import com.asap.server.persistence.domain.Place;
import com.asap.server.persistence.domain.User;
import com.asap.server.persistence.domain.enums.Role;
import com.asap.server.persistence.repository.meeting.MeetingRepository;
import com.asap.server.persistence.repository.timeblock.TimeBlockRepository;
import com.asap.server.persistence.repository.timeblock.dto.TimeBlockDto;
import com.asap.server.presentation.controller.dto.request.MeetingConfirmRequestDto;
import com.asap.server.presentation.controller.dto.request.MeetingSaveRequestDto;
import com.asap.server.presentation.controller.dto.response.AvailableDatesDto;
Expand All @@ -14,20 +27,7 @@
import com.asap.server.presentation.controller.dto.response.MeetingScheduleResponseDto;
import com.asap.server.presentation.controller.dto.response.MeetingTitleResponseDto;
import com.asap.server.presentation.controller.dto.response.TimeTableResponseDto;
import com.asap.server.persistence.domain.ConfirmedDateTime;
import com.asap.server.persistence.domain.Meeting;
import com.asap.server.persistence.domain.Place;
import com.asap.server.persistence.domain.User;
import com.asap.server.persistence.domain.enums.Role;
import com.asap.server.common.exception.Error;
import com.asap.server.common.exception.model.ConflictException;
import com.asap.server.common.exception.model.ForbiddenException;
import com.asap.server.common.exception.model.NotFoundException;
import com.asap.server.common.exception.model.UnauthorizedException;
import com.asap.server.persistence.repository.meeting.MeetingRepository;
import com.asap.server.persistence.repository.timeblock.TimeBlockRepository;
import com.asap.server.persistence.repository.timeblock.dto.TimeBlockDto;
import com.asap.server.service.meeting.MeetingTimeRecommendService;
import com.asap.server.service.meeting.recommend.MeetingTimeRecommendService;
import com.asap.server.service.vo.BestMeetingTimeVo;
import com.asap.server.service.vo.BestMeetingTimeWithUsersVo;
import java.time.LocalDate;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
import java.util.List;
import java.util.stream.Collectors;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
public class MeetingTimeRecommendService {
private static final int BEST_MEETING_TIME_SIZE = 3;
Expand Down
Loading

0 comments on commit 46be6b5

Please sign in to comment.