mybati中A query was run and no Result Maps were found for the Mapped Statement解决
Cause: A query was run and no Result Maps were found for the Mapped Statement ‘com.atguigu.mybatis.dao.EmployeeMapper.getEmpById’. It’s likely that neither a Result Type nor a Result Map was specified问题的解决
这个主要是因为 在xml映射文件中 < select >中没有写resultType属
原创
2020-06-12 16:58:36 ·
198 阅读 ·
0 评论