改成单表查询 首先配置的是select。他需要配置的值是accountDao中的方法,查询所有的账户,但是必须有条件。根据用户的id column配置的是id。因为要用user表的id去关联查询
映射文件只需要封装到resultType里面即可 运行测试 调用测试方法 已经开始有延迟加载了。 注释掉循环的内容。 值查询了一个user表的sql