-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB 연결하기 #37
Comments
ahyoon99
added a commit
that referenced
this issue
Aug 15, 2024
ahyoon99
added a commit
that referenced
this issue
Aug 19, 2024
jdbcTemplate.update()의 결과가 1이면 삭제 성공, 0이면 삭제 실패한 경우이다. Related to: #37
ahyoon99
added a commit
that referenced
this issue
Aug 20, 2024
Merged
ahyoon99
added a commit
that referenced
this issue
Sep 3, 2024
entity 자체를 수정해주었다. 그 결과, Service의 addVisit, setStarRating 메소드 둘 다 하나의 updateById 메소드를 통해 기능 수행이 가능해졌다. Related to: #37
ahyoon99
added a commit
that referenced
this issue
Sep 3, 2024
addVisit()에서 하는 일 - 최초 방문 시, isVisit을 true로 수정해주기 - visitCount 1 증가시켜주기 - starRating을 최근에 받은 값으로 수정해주기 Related to: #37
ahyoon99
added a commit
that referenced
this issue
Sep 3, 2024
- 저장할 entity의 index가 null이라면, entity를 insert 하기 - 저장할 entity의 index가 null이 아니라면, index에 해당하는 entity의 정보를 수정(update)하기 Related to: #37
ahyoon99
added a commit
that referenced
this issue
Sep 5, 2024
- 삭제 성공했으면 1을 return 해주기 - 삭제 실패했으면 0을 return 해주기 Related to: #37
ahyoon99
added a commit
that referenced
this issue
Sep 5, 2024
- 방문할 때 마다, lastVisitDate 수정해주기 Related to: #37
ahyoon99
added a commit
that referenced
this issue
Sep 6, 2024
- 맛집에 방문할 때마다, 그동안 받은 별점들의 평균을 계산해서 넣어주기 Related to: #37
ahyoon99
added a commit
that referenced
this issue
Sep 6, 2024
- 별점 변수를 int 타입에서 double 타입으로 수정하기 Related to: #37
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: