List<Integer> list = Arrays.asList(123, 456, 789);
list가 위와 같을 때,
list
list.forEach(reviewNo -> { // reviewNo : 123, 456, 789 ReviewInfo info = ReviewInfo.builder() .reviewNo(reviewNo) .build(); // Business Logic reviewRepository.update(info); });