Skip to content

Conversation

@tomatozil
Copy link
Collaborator

@tomatozil tomatozil commented Feb 17, 2025

🔧 어떤 작업인가요?

알림 데이터 저장을 판단하는 로직(AlarmService) 자체가 이상해서.. 로직을 바꾸고, 조회하는 쿼리도 이상해서.. 쿼리도 바꿨습니다.

#️⃣ 연관된 이슈

#340

💡 리뷰어에게 하고 싶은 말

vehicleId가 일치하는 최신 알림 데이터를 조회해요!

  1. 데이터가 없는데 총 주행거리가 점검 기준 거리을 넘거나
  2. 데이터가 (completed일 때 총 주행거리 - completed시 주행거리) 가 점검 기준 거리를 넘으면

알림 데이터를 저장하고 알림 요청을 보냅니다!

예전 로직은 당최 뭔 로직이었는지 기억도 안나네요,,

🙏 아래 내용이 모두 충족 되었는지 확인해주세요 🙏

  • PR 이전 dev 브랜치 병합 하셨나요?
  • PR 이전 빌드 테스트 정상적으로 성공했나요?
  • PR 상세내용이 충분히 기재 되었나요?
  • PR 리뷰어, 할당자, 라벨, 프로젝트 확인

@tomatozil tomatozil added the 🐛 Fix 버그 수정 label Feb 17, 2025
@tomatozil tomatozil requested a review from kbyunghoon February 17, 2025 13:36
@tomatozil tomatozil self-assigned this Feb 17, 2025
@tomatozil tomatozil changed the title Fix/#340 알림 데이터 저장 에러 수정 fix: 알림 데이터 저장 에러 수정 Feb 17, 2025
@tomatozil tomatozil merged commit e5de039 into develop Feb 17, 2025
@tomatozil tomatozil deleted the fix/#340-알림-데이터-저장-에러-수정 branch February 27, 2025 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Fix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants