根据 id 获取 Mapper.xml 文件的SQL语句
断点位置
org.apache.ibatis.session.Configuration#getMappedStatement(java.lang.String, boolean)
以 select语句为例子
key 为 id,value为 MappedStatement 语句的 map 来存储
用 mappedStatements.get(id) 的方式获取到 MappedStatement 类
加载 Mapper.xml 到 mappedStatements 中的执行流程
启动的 run 方法中加载 SQL,然后解析每一个 mapper.xml 文件
解析出文件中的7条SQL语句
最后给 mappedStatements 添加键值对