A query was run and no Result Maps were found for the Mapped Statement
时间:2019-08-13 19:01:34
收藏:0
阅读:78
使用mybatis进行查询时,没有给定resultType值出现的错误。resultType是查询对象的类型。
<select id="selectByuid" parameterType="int" resultType="xxx.xxx.model.User">
select * from t_user where uid=#{uid}
</select>
粘贴自:https://blog.csdn.net/carl_jiang/article/details/53788447
原文:https://www.cnblogs.com/youpeng/p/11347116.html
评论(0)