13、mybatis多表关联查询级联属性
文章目录1、创建表结构2、EmployeeMapper接口3、EmployeeMapper.xml4、Test1、创建表结构CREATE TABLE `mybatis`.`dept` ( `id` INT NOT NULL , `dept_name` VARCHAR(45) NULL , PRIMARY KEY (`id`) );alter table employee add d_id INT(45);INSERT INTO `mybatis`.`dept` (`id`, `d