@@ -1,35 +1,34 @@
 package com.somemore.domains.review.service;
 
-import com.somemore.domains.center.usecase.query.CenterQueryUseCase;
+import static com.somemore.global.exception.ExceptionMessage.NOT_EXISTS_REVIEW;
+
 import com.somemore.domains.review.domain.Review;
 import com.somemore.domains.review.dto.condition.ReviewSearchCondition;
 import com.somemore.domains.review.dto.response.ReviewDetailResponseDto;
 import com.somemore.domains.review.dto.response.ReviewDetailWithNicknameResponseDto;
 import com.somemore.domains.review.repository.ReviewRepository;
 import com.somemore.domains.review.usecase.ReviewQueryUseCase;
-import com.somemore.domains.volunteer.domain.Volunteer;
-import com.somemore.domains.volunteer.usecase.VolunteerQueryUseCase;
+import com.somemore.domains.volunteerapply.usecase.VolunteerApplyQueryUseCase;
 import com.somemore.global.exception.NoSuchElementException;
+import com.somemore.volunteer.repository.record.VolunteerNicknameAndId;
+import com.somemore.volunteer.usecase.NEWVolunteerQueryUseCase;
+import java.util.List;
+import java.util.Map;
+import java.util.UUID;
+import java.util.stream.Collectors;
 import lombok.RequiredArgsConstructor;
 import org.springframework.data.domain.Page;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
-
-import static com.somemore.global.exception.ExceptionMessage.NOT_EXISTS_REVIEW;
-
 @RequiredArgsConstructor
 @Transactional(readOnly = true)
 @Service
 public class ReviewQueryService implements ReviewQueryUseCase {
 
     private final ReviewRepository reviewRepository;
-    private final VolunteerQueryUseCase volunteerQueryUseCase;
-    private final CenterQueryUseCase centerQueryUseCase;
+    private final NEWVolunteerQueryUseCase volunteerQueryUseCase;
+    private final VolunteerApplyQueryUseCase volunteerApplyQueryUseCase;
 
     @Override
     public boolean existsByVolunteerApplyId(Long volunteerApplyId) {
@@ -45,7 +44,9 @@ public Review getById(Long id) {
     @Override
     public ReviewDetailResponseDto getDetailById(Long id) {
         Review review = getById(id);
-        return ReviewDetailResponseDto.from(review);
+        Long recruitBoardId = volunteerApplyQueryUseCase.getRecruitBoardIdById(
+                review.getVolunteerApplyId());
+        return ReviewDetailResponseDto.of(review, recruitBoardId);
     }
 
     @Override
@@ -54,10 +55,11 @@ public Page<ReviewDetailWithNicknameResponseDto> getDetailsWithNicknameByVolunte
             ReviewSearchCondition condition
     ) {
         String nickname = volunteerQueryUseCase.getNicknameById(volunteerId);
-        Page<Review> reviews = reviewRepository.findAllByVolunteerIdAndSearch(volunteerId, condition);
+        Page<Review> reviews = reviewRepository.findAllByVolunteerIdAndSearch(volunteerId,
+                condition);
 
         return reviews.map(
-                review -> ReviewDetailWithNicknameResponseDto.from(review, nickname)
+                review -> ReviewDetailWithNicknameResponseDto.of(review, nickname)
         );
     }
 
@@ -66,28 +68,20 @@ public Page<ReviewDetailWithNicknameResponseDto> getDetailsWithNicknameByCenterI
             UUID centerId,
             ReviewSearchCondition condition
     ) {
-        centerQueryUseCase.validateCenterExists(centerId);
-
         Page<Review> reviews = reviewRepository.findAllByCenterIdAndSearch(centerId, condition);
         List<UUID> volunteerIds = reviews.get().map(Review::getVolunteerId).toList();
-        Map<UUID, String> volunteerNicknames = getVolunteerNicknames(volunteerIds);
+        Map<UUID, String> volunteerNicknames = mapVolunteerIdsToNicknames(volunteerIds);
 
-        return reviews.map(
-                review -> {
-                    String nickname = volunteerNicknames.getOrDefault(review.getVolunteerId(),
-                            "삭제된 아이디");
-                    return ReviewDetailWithNicknameResponseDto.from(review, nickname);
-                });
+        return reviews.map(review ->
+                ReviewDetailWithNicknameResponseDto.of(review,
+                        volunteerNicknames.get(review.getVolunteerId()))
+        );
     }
 
-    private Map<UUID, String> getVolunteerNicknames(List<UUID> volunteerIds) {
-        List<Volunteer> volunteers = volunteerQueryUseCase.getAllByIds(volunteerIds);
-
-        Map<UUID, String> volunteerNicknames = new HashMap<>();
-        for (Volunteer volunteer : volunteers) {
-            volunteerNicknames.put(volunteer.getId(), volunteer.getNickname());
-        }
-
-        return volunteerNicknames;
+    private Map<UUID, String> mapVolunteerIdsToNicknames(List<UUID> volunteerIds) {
+        return volunteerQueryUseCase.getVolunteerNicknameAndIdsByIds(volunteerIds)
+                .stream()
+                .collect(Collectors.toMap(VolunteerNicknameAndId::id,
+                        VolunteerNicknameAndId::nickname));
     }
 }

리뷰: 메서드로 코드를 포장하면 가독성이 더 좋을 것 같아요~