mybatis一对多嵌套结果 mybatis学习笔记07
mybatis一对多嵌套结果:一对多嵌套结果的特点:只发送一条sql语句步骤:新建domain类:数据库设计:新建domainMapper接口:在本例中为DepartmentMapper新建domainMapper.xml在本例中为:DepartmentMapper.xml<?xml version="1.0" encoding="UTF-8" ?><!DOC