wy_family

  • 홈
  • 태그
  • 방명록

2024/12/21 1

Spring Boot - JPQL / 리뷰 삭제 기능

@GetMapping("/detail/{id}") public String getDetails(@PathVariable Long id, Model model) { Optional bookOptional = bookService.getById(id); if (bookOptional.isPresent()) { Book book = bookOptional.get(); model.addAttribute("book", book); // 평균 평점을 계산하여 모델에 추가 double averageRating = book.getReviews().stream().mapToInt(Review::getRating)..

Spring Boot (+ RESTful) 2024.12.21
이전
1
다음
더보기
프로필사진

wy_family

wy-family 님의 블로그 입니다.

  • 분류 전체보기 (112)
    • 에듀테크 부트캠프 (9)
    • 도커 & 쿠버네티스 (5)
    • Spring Boot (+ RESTful) (38)
    • Docker 기반 CI·CD 파이프라인 구축 (18)
    • Java (12)
    • AI Chatbot 만들다! (17)
    • 생각 기록하자 (13)

Tag

kubernetes, aws, spring, 서버배포, 진로계획, 도커, Django, java, KDT, Python, 쿠버네티스, 자바, CI, 가상화, restfulapi, GitLab, cd, restapi, SpringBoot, 진로고민, 백엔드, 오블완, 티스토리챌린지, Docker, 웹개발, CICD, Rest, 데브옵스, PostgreSQL, restful,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2024/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바