准备
一对一
mapper文件:
控制台输出:
一对多
多对多
与一对多用法相同。
mybatis的一对一、一对多、多对多查询
原文:https://www.cnblogs.com/ityangshuai/p/12458257.html