fix:根据id查询数据时,如id为空值会导致查询结果可能为多条记录引发TooManyResultsException问题修复#212
fix:根据id查询数据时,如id为空值会导致查询结果可能为多条记录引发TooManyResultsException问题修复#212lu-yg merged 1 commit intoopentiny:developfrom
Conversation
WalkthroughThe changes across multiple MyBatis XML mapper files remove conditional checks for the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Mapper
participant Database
Client->>Mapper: Request entity by id
Mapper->>Database: SELECT ... WHERE id = #{id}
Database-->>Mapper: Return result
Mapper-->>Client: Return entity
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (13)
🔇 Additional comments (13)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
fix:根据id查询数据时,如id为空值会导致查询结果可能为多条记录引发TooManyResultsException问题修复
Summary by CodeRabbit