-
Notifications
You must be signed in to change notification settings - Fork 1
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
[DPMBE-107] 유저 위치 변경시 만났다 이벤트 발행한다 #174
base: develop
Are you sure you want to change the base?
Conversation
Kudos, SonarCloud Quality Gate passed! |
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.
흠... 저라면 간단히
몽고디비에 사람 좌표 집어넣고
업데이트 된 좌표기준으로
10M 안에 있는 사람의 목록을 가져왔을것 같아요
넘 어렵게 가신거아닐까유!
아니면
geohash 사용해서
좌표 ->
wydm67k 변환
wydm67 까지 포함되는 좌표있는지 loop 한번만 돌고 끝내는 방법도 있을것같아요
참고요!
|
||
@Embedded | ||
var userLocation: CoordinateVo? = null, | ||
var userLocation: CoordinateVo? = CoordinateVo(0.0, 0.0), | ||
|
||
@Embedded |
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.
옵셔널 업애주셔유!
@@ -23,7 +24,7 @@ class PromiseUser( | |||
var userId: Long, | |||
|
|||
@Embedded | |||
var userLocation: CoordinateVo? = null, | |||
var userLocation: CoordinateVo? = CoordinateVo(0.0, 0.0), | |||
|
|||
@Embedded | |||
var promiseUserType: PromiseUserType? = PromiseUserType.READY, |
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.
이 부분 다른 PR 에 반영돼 있습니당
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.
만났다 이벤트 어렵네요ㅜㅜ
개요
작업사항
.
영역 크기는 주석으로 작성해두었습니다. 아래 링크를 참고하세요
영역 크기 document 참고
변경로직
org.springframework.transaction.annotation.Transactional
로 변환했습니다.