报错:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘Mapper.Equipment.selectCountUnupdate’. It’s likely that neither a Result Type nor a Result Map was specified.
分析:
mybatis的错 第一想法就是 mybatis的配置文件 或者Sql写错了
我这项目一直在用 所以配置文件没有问题 ,就是sql出现了问题
报错信息里有个type 看了一下自己写的Sql确实缺少东西