更多文章参考我的笔记:https://www.yuque.com/yinjianwei/vyrvkf
复现异常
我们先通过案例复现该类异常,测试项目地址:https://gitee.com/yin_jw/demo/tree/master/mybatis-demo/springboot-mybatis-demo,StudentMapper.xml 中根据条件获取学生信息的 SQL 配置如下所示。
<!-- 根据条件获取学生信息--> <select id="listByConditions" parameterType="studentQuery" resultMap="BaseResultMap"> select <include refid="Base_Col