File tree Expand file tree Collapse file tree
src/main/java/com/back/web7_9_codecrete_be/domain/concerts/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ public SetResultResponse setConcertsList() throws InterruptedException {
119119
120120 //콘서트 최고 금액, 최저 금액 처리.
121121 TicketPrice ticketPrice = new TicketPrice (concertDetail .getConcertPrice ());
122-
122+ log .info ("표 가격 raw : " + concertDetail .getConcertPrice ());
123+ log .info ("최고가 : " + ticketPrice .maxPrice + ", 최저가 : " + ticketPrice .minPrice );
123124 // 콘서트 저장
124125 Concert concert = new Concert (
125126 concertPlace ,
@@ -476,8 +477,8 @@ private class TicketPrice {
476477 // 문자열 가격 정보를 받아서 변환 후 저장.
477478 public TicketPrice (String price ) {
478479 String [] bits = price .split (" " );
479- int maxPrice = 0 ;
480- int minPrice = Integer .MAX_VALUE ;
480+ maxPrice = 0 ;
481+ minPrice = Integer .MAX_VALUE ;
481482 if (bits .length == 1 ) {
482483 minPrice = 0 ;
483484 } else {
You can’t perform that action at this time.
0 commit comments