Skip to content

Commit

Permalink
[chore] 에러 해결 후 로그 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
KWY0218 committed Aug 23, 2024
1 parent 748f8c7 commit ccc4e7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.annotations.ColumnDefault;

@Entity
@Getter
@Builder
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@ToString
public class User extends AuditingTimeEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,17 @@
import com.asap.server.service.meeting.dto.UserDto;
import com.asap.server.service.time.MeetingTimeRecommendService;
import com.asap.server.service.time.UserMeetingScheduleService;
import com.asap.server.service.time.vo.TimeBlockVo;
import com.asap.server.service.user.UserRetrieveService;
import com.asap.server.service.time.vo.BestMeetingTimeVo;
import com.asap.server.service.time.vo.BestMeetingTimeWithUsers;
import com.asap.server.service.time.vo.TimeBlockVo;
import com.asap.server.service.user.UserRetrieveService;
import java.util.List;
import java.util.Map;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
@Slf4j
public class MeetingRetrieveService {
private final MeetingRepository meetingRepository;
private final UserRetrieveService userRetrieveService;
Expand Down Expand Up @@ -54,12 +52,6 @@ public BestMeetingTimeDto getBestMeetingTime(final Long meetingId, final Long us
);

Map<Long, User> userIdToUserMap = userRetrieveService.getUserIdToUserMap(meetingId);
log.info(
"user count is " + userCount + "\n " +
"timeBlocks is " + timeBlocks + "\n " +
"bestMeetingTimes is " + bestMeetingTimes + "\n" +
"userIdToUserMap is " + userIdToUserMap + "\n"
);
List<BestMeetingTimeWithUsers> bestMeetingTimeWithUsers = bestMeetingTimes.stream()
.map(bestMeetingTime -> mapToBestMeetingTimeWithUsers(bestMeetingTime, userIdToUserMap))
.toList();
Expand Down

0 comments on commit ccc4e7c

Please sign in to comment.