Skip to content

feat: 조회 기반 기중치 계산을 위해 UserInteraction에 count 필드 도입#123

Merged
lpromotion merged 1 commit intoWithPeace:stagingfrom
lpromotion:staging
Jun 24, 2025
Merged

feat: 조회 기반 기중치 계산을 위해 UserInteraction에 count 필드 도입#123
lpromotion merged 1 commit intoWithPeace:stagingfrom
lpromotion:staging

Conversation

@lpromotion
Copy link
Collaborator

관련 이슈번호


작업 사항

  • UserInteraction 엔티티에 count 필드 추가하여 조회수 누적 가능하도록 개선
  • VIEW 타입의 상호작용 발생 시 count 값을 증가시키도록 upsert 쿼리 수정
  • 추천 가중치 계산 로직에서 count 값을 반영
  • ViewPolicy 조회수 로직도 upsert 방식으로 전환하여 분기 로직 제거 및 쿼리 최적화

기타 사항

- UserInteraction 엔티티에 count 필드 추가하여 조회수 누적 가능하도록 개선
- VIEW 타입의 상호작용 발생 시 count 값을 증가시키도록 upsert 쿼리 수정
- 추천 가중치 계산 로직에서 count 값을 반영
- ViewPolicy 조회수 로직도 upsert 방식으로 전환하여 분기 로직 제거 및 쿼리 최적화
@lpromotion lpromotion self-assigned this Jun 24, 2025
@lpromotion lpromotion merged commit b2aebc7 into WithPeace:staging Jun 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant