其他分享
首页 > 其他分享> > 013 A query was run and no Result Maps were found for the Mapped Statement 'com.cy.store.mapper

013 A query was run and no Result Maps were found for the Mapped Statement 'com.cy.store.mapper

作者:互联网

报错结果:

Caused by: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.cy.store.mapper.AddressMapper.countByUid'.  It's likely that neither a Result Type nor a Result Map was specified.

翻译:

 

 

原因:由于SQL语句里面没有写返回的结果,添加上resultType="Integer"即可

解决办法:

 

标签:Maps,likely,Result,Statement,specified,was
来源: https://www.cnblogs.com/Zhangzhiq/p/16351310.html