TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 3
在spring boot 整合mybatis的demo 测试代码中,@RunWith(SpringRunner.class)@SpringBootTestpublic class Chapter327ApplicationTests { @Autowired private UserMapper userMapper; @Test public vo...
原创
2018-03-11 15:15:45 ·
1232 阅读 ·
0 评论