Skip to content

Commit

Permalink
11 [update]
Browse files Browse the repository at this point in the history
간단한 코드 수정
  • Loading branch information
kokoa322 committed Aug 4, 2022
1 parent b5ca35e commit 7a4236e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void review(ReviewRequestDto reviewRequestDto, String socialId) throws IO
tagRepository.saveAll(tagList);
reviewImageRepository.saveAll(reviewImageUrlList);
reviewRepository.save(review); // 아래의 {store.updatePointAvg()} 보다 리뷰가 먼저 처리되게 해야한다.
storeService.updateAvg(store,socialId);
storeRepository.save(store.updatePointAvg()); //별점 평균 구하는 코드
}


Expand Down

0 comments on commit 7a4236e

Please sign in to comment.