013 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.
报错结果:
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"即可
解决办法: