-->

๋™์‹œ์„ฑ

ยทProject
๋“ค์–ด๊ฐ€๊ธฐ ์•ž์„œํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰ ์ค‘, ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœ์ž๋ถ„ ๊ป˜์„œ ๋ณ„์  ๊ธฐ๋Šฅ์—์„œ ๋ณ„์  ๊ฐ’์ด ์ œ๋Œ€๋กœ ์—…๋ฐ์ดํŠธ๋˜์ง€ ์•Š๋Š” ๋ฌธ์ œ๋ฅผ ๋ฐœ๊ฒฌํ•˜์…จ์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋ฅผ ์ •ํ™•ํžˆ ํŒŒ์•…ํ•˜๊ธฐ ์œ„ํ•ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ํ™•์ธํ•ด๋ณธ ๊ฒฐ๊ณผ, ๋™์ผํ•œ ๋ณ„์  ๋ฐ์ดํ„ฐ๊ฐ€ 2๊ฐœ ์ €์žฅ๋œ ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. public RatingCreateResponse createRating(Long userId, RatingCreateServiceRequest request) { User user = userRepository.findById(userId) .orElseThrow(() -> new BusinessException(USER_NOT_FOUND)); Book book = bookRepository.findById(request.getBookIsbn()) ..
jwooo๐ŸŒฑ
'๋™์‹œ์„ฑ' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก