[功能改进]: BaseMapper.selectOne 是否可使用 ResultHandler 提前停止结果映射
作者: smf-h创建于 2026年9月21日更新于 2026年9月21日
1. Nested ResultMap
In a one-to-many nested mapping, multiple database records may be merged into a root object. The ResultHandler and Cursor both rely on MyBatis's result assembly logic. It is generally safe to return the root object one by one, requiring the SQL to be sorted by root object ID and setting:
内容来源: baomidou/mybatis-plus