Skip to content

Conversation

@vumrra
Copy link
Contributor

@vumrra vumrra commented Apr 8, 2025

개요

내가 파산했는지 확인하는 API를 개발하였습니다.

본문

아래와 같은 조건을 검사하여 파산 여부를 반환합니다.

  • 현재 포인트가 0보다 크다면 파산하지 않았다.
  • 아직 반영되지 않은 임시 포인트의 합이 0보다 크다면 파산하지 않았다.
  • 아직 정산되지 않은 모든 배팅의 배팅 포인트의 합이 0보다 크다면 파산하지 않았다.
  • 위 조건에 모두 부합하지 않는다면 해당 학생은 파산했다.

@vumrra vumrra requested a review from Umjiseung April 8, 2025 06:17
@vumrra vumrra self-assigned this Apr 8, 2025
@vumrra vumrra changed the base branch from develop to feature/stage-redis-cache April 8, 2025 06:17
Copy link
Member

@Umjiseung Umjiseung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다~

@vumrra vumrra changed the base branch from feature/stage-redis-cache to develop April 8, 2025 06:43
@vumrra vumrra merged commit 475b88b into develop Apr 8, 2025
1 check passed
@vumrra vumrra mentioned this pull request Apr 8, 2025
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.

3 participants