MyBatis基础2(XML)

XML模式开发顺序:

  1. 创建DO对象
  2. 创建DAO对象,配置@Mapper注解
  3. 创建XML文件,并完成resultMap配置
  4. 创建对应的XML语句
阅读更多