-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: Add individual star rating searching func #120
base: develop
Are you sure you want to change the base?
Conversation
import orangetaxiteam.cocoman.domain.PasswordEncoder; | ||
import orangetaxiteam.cocoman.domain.PasswordValidator; | ||
import orangetaxiteam.cocoman.domain.SocialInfoService; | ||
import orangetaxiteam.cocoman.domain.SocialInfoServiceSupplier; | ||
import orangetaxiteam.cocoman.domain.SocialProvider; | ||
import orangetaxiteam.cocoman.domain.User; | ||
import orangetaxiteam.cocoman.domain.UserRepository; | ||
import orangetaxiteam.cocoman.domain.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 또 이렇게 됐다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앗. 인텔리제이 설정 바꿨다.. 이제 와일드카드 없을듯!
@Query(value = "SELECT s FROM StarRating s WHERE s.user.id = :user") | ||
List<StarRating> findByUserId(Pageable pageable, String user); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
query 안쓰고 만들 수 있을 것 같은데!
이런 식으로?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정완료~
개인별 별점 조회 기능을 만들었습니다.
포스트맨에서는
users/{user_id}/starRating
으로 조회할 수 있습니다.