相应的model对应的mapping中将resultType改成resultMap即可。 转载于:https://www.cnblogs.com/huifeidezhuzai/p/10044317.html