π¨ Fix - μμ΄λ μ°ΎκΈ° μ, DeletedAt κ³ λ €νλλ‘ λ³κ²½#795
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughUser lookup now filters out soft-deleted accounts by changing the JPA method to include DeletedAt is null and updating the repository implementation to call the new method. The exception behavior remains unchanged. Changes
Sequence Diagram(s)sequenceDiagram
participant Service
participant UserRepositoryImpl
participant UserJpaRepository
participant DB
Service->>UserRepositoryImpl: findByPhoneNumberAndNameOrElseThrow(phone, name)
UserRepositoryImpl->>UserJpaRepository: findByPhoneNumberAndNameAndDeletedAtIsNull(phone, name)
UserJpaRepository->>DB: SELECT ... WHERE phone=? AND name=? AND deleted_at IS NULL
DB-->>UserJpaRepository: Optional<User>
alt User found
UserJpaRepository-->>UserRepositoryImpl: User
UserRepositoryImpl-->>Service: User
else Not found
UserRepositoryImpl-->>Service: throw NOT_FOUND_ACCOUNT
end
Estimated code review effortπ― 2 (Simple) | β±οΈ ~10 minutes Poem
Tip π Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. π Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Free π‘ Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. π Files selected for processing (2)
Note π Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. πͺ§ TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Related issue π
closed #794
μ΄λ€ λ³κ²½μ¬νμ΄ μμλμ?
CheckPoint β
PRμ΄ λ€μ μꡬ μ¬νμ μΆ©μ‘±νλμ§ νμΈνμΈμ.
Work Description βοΈ
μμ λ΄μ©μ μμ±ν΄μ£ΌμΈμ.
Uncompleted Tasks π
N/A
To Reviewers π’
리뷰μ΄κ° μλ©΄ μ’μ λ΄μ©μ μμ±ν΄μ£ΌμΈμ.
Summary by CodeRabbit