Skip to content

Commit

Permalink
[#256] fix: 오탈자 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonyworld committed Nov 30, 2024
1 parent ccb37c6 commit c0a76b8
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public PerformanceResponse createPerformance(Long memberId, PerformanceRequest r
request.roadAddressName(),
request.placeDetailAddress(),
request.latitude(),
request.longtitude(),
request.longitude(),
request.performanceContact(),
" ", // 이후 dto performancePeriod 제외 필요
request.ticketPrice(),
Expand Down Expand Up @@ -173,7 +173,7 @@ private PerformanceResponse mapToPerformanceResponse(Performance performance, Li
List<PerformanceImageResponse> performanceImageResponses = performanceImages.stream()
.map(image -> PerformanceImageResponse.of(
image.getId(),
image.getPerformanceImage()
image.getPerformanceImageUrl()
))
.collect(Collectors.toList());

Expand All @@ -194,7 +194,7 @@ private PerformanceResponse mapToPerformanceResponse(Performance performance, Li
performance.getRoadAddressName(),
performance.getPlaceDetailAddress(),
performance.getLatitude(),
performance.getLongtitude(),
performance.getLongitude(),
performance.getPerformanceContact(),
performance.getPerformancePeriod(),
performance.getTicketPrice(),
Expand Down Expand Up @@ -240,4 +240,4 @@ public void deletePerformance(Long memberId, Long performanceId) {

performanceRepository.delete(performance);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private void updatePerformanceDetails(Performance performance, PerformanceModify
request.roadAddressName(),
request.placeDetailAddress(),
request.latitude(),
request.longtitude(),
request.longitude(),
request.performanceContact(),
request.performancePeriod(),
request.totalScheduleCount()
Expand Down Expand Up @@ -518,7 +518,7 @@ private PerformanceImageModifyResponse addPerformanceImage(PerformanceImageModif
log.debug("Added performanceImage: {}", savedPerformanceImage.getId());
return PerformanceImageModifyResponse.of(
savedPerformanceImage.getId(),
savedPerformanceImage.getPerformanceImage()
savedPerformanceImage.getPerformanceImageUrl()
);
}

Expand All @@ -543,7 +543,7 @@ private PerformanceImageModifyResponse updatePerformanceImage(PerformanceImageMo
log.debug("Updated performanceImage: {}", performanceImage.getId());
return PerformanceImageModifyResponse.of(
performanceImage.getId(),
performanceImage.getPerformanceImage()
performanceImage.getPerformanceImageUrl()
);
}

Expand Down Expand Up @@ -589,7 +589,7 @@ private PerformanceModifyResponse completeModifyResponse(
performance.getRoadAddressName(),
performance.getPlaceDetailAddress(),
performance.getLatitude(),
performance.getLongtitude(),
performance.getLongitude(),
performance.getPerformanceContact(),
performance.getPerformancePeriod(),
performance.getTicketPrice(),
Expand All @@ -602,4 +602,4 @@ private PerformanceModifyResponse completeModifyResponse(
log.info("PerformanceModifyResponse created successfully for performanceId: {}", performance.getId());
return response;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ public PerformanceDetailResponse getPerformanceDetail(Long performanceId) {
List<PerformanceDetailImageResponse> performanceImageList = performanceImageRepository.findAllByPerformanceId(
performanceId)
.stream()
.map(image -> PerformanceDetailImageResponse.of(image.getId(), image.getPerformanceImage()))
.map(image -> PerformanceDetailImageResponse.of(image.getId(), image.getPerformanceImageUrl()))
.collect(Collectors.toList());

log.info("Successfully completed getPerformanceDetail for performanceId: {}", performanceId);
return PerformanceDetailResponse.of(performance.getId(), performance.getPerformanceTitle(),
performance.getPerformancePeriod(), scheduleList, performance.getTicketPrice(),
performance.getGenre().name(), performance.getPosterImage(), performance.getRunningTime(),
performance.getPerformanceVenue(), performance.getRoadAddressName(), performance.getPlaceDetailAddress(),
performance.getLatitude(), performance.getLongtitude(), performance.getPerformanceDescription(),
performance.getLatitude(), performance.getLongitude(), performance.getPerformanceDescription(),
performance.getPerformanceAttentionNote(), performance.getPerformanceContact(),
performance.getPerformanceTeamName(), castList, staffList, minDueDate, performanceImageList);
}
Expand Down Expand Up @@ -216,7 +216,7 @@ private PerformanceModifyDetailResponse mapToPerformanceEditResponse(Performance

List<PerformanceImageResponse> performanceImageResponses = performanceImages.stream()
.map(performanceImage -> PerformanceImageResponse.of(performanceImage.getId(),
performanceImage.getPerformanceImage()))
performanceImage.getPerformanceImageUrl()))
.collect(Collectors.toList());

return PerformanceModifyDetailResponse.of(performance.getUsers().getId(), performance.getId(),
Expand All @@ -225,7 +225,7 @@ private PerformanceModifyDetailResponse mapToPerformanceEditResponse(Performance
performance.getBankName(), performance.getAccountNumber(), performance.getAccountHolder(),
performance.getPosterImage(), performance.getPerformanceTeamName(), performance.getPerformanceVenue(),
performance.getRoadAddressName(), performance.getPlaceDetailAddress(), performance.getLatitude(),
performance.getLongtitude(),
performance.getLongitude(),
performance.getPerformanceContact(), performance.getPerformancePeriod(), performance.getTicketPrice(),
performance.getTotalScheduleCount(), isBookerExist, scheduleResponses, castResponses, staffResponses,
performanceImageResponses);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public record PerformanceRequest(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int ticketPrice,
Expand All @@ -33,4 +33,4 @@ public record PerformanceRequest(
List<StaffRequest> staffList,
List<PerformanceImageRequest> performanceImageList
) {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public record PerformanceResponse(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int ticketPrice,
Expand All @@ -49,7 +49,7 @@ public static PerformanceResponse of(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int ticketPrice,
Expand All @@ -76,7 +76,7 @@ public static PerformanceResponse of(
roadAddressName,
placeDetailAddress,
latitude,
longtitude,
longitude,
performanceContact,
performancePeriod,
ticketPrice,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public record PerformanceModifyDetailResponse(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int ticketPrice,
Expand Down Expand Up @@ -54,7 +54,7 @@ public static PerformanceModifyDetailResponse of(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int ticketPrice,
Expand Down Expand Up @@ -82,7 +82,7 @@ public static PerformanceModifyDetailResponse of(
roadAddressName,
placeDetailAddress,
latitude,
longtitude,
longitude,
performanceContact,
performancePeriod,
ticketPrice,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public record PerformanceModifyRequest(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int totalScheduleCount,
Expand All @@ -39,4 +39,4 @@ public record PerformanceModifyRequest(
List<StaffModifyRequest> staffModifyRequests,
List<PerformanceImageModifyRequest> performanceImageModifyRequests
) {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public record PerformanceModifyResponse(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int ticketPrice,
Expand All @@ -53,7 +53,7 @@ public static PerformanceModifyResponse of(
String roadAddressName,
String placeDetailAddress,
String latitude,
String longtitude,
String longitude,
String performanceContact,
String performancePeriod,
int ticketPrice,
Expand All @@ -80,7 +80,7 @@ public static PerformanceModifyResponse of(
roadAddressName,
placeDetailAddress,
latitude,
longtitude,
longitude,
performanceContact,
performancePeriod,
ticketPrice,
Expand All @@ -91,4 +91,4 @@ public static PerformanceModifyResponse of(
performanceImageModifyResponses
);
}
}
}

0 comments on commit c0a76b8

Please sign in to comment.