使用mapper文件后,出现500错误
问题描述:
答
注意看你的resultMap用法出现了错误,如果你是想使用你写好resultMap标签做关系映射应该这样写resultMap="BaseResultMap",否则就是这样resultType="cn.todu.entity,User"