Mybatis学习手记(二)

要点一、如果字段名与类的属性名不一致,要在*Mapper.xml文件中,新建resultMap 配置对应关系,如下图

原文地址:https://www.cnblogs.com/lrzy/p/8329898.html