在调用mapper方法后报错:
Result Maps collection does not contain value for java.lang.Integer
我检查了下我的mapper.xml文件,该方法是个insert方法,并没有resultMap参数,所以怎么可能报这个错误喃?查询网络全部都是说是resultMap参数导致的。。。
后仔细查看发现是由其他mapper.xml中的resultMap参数导致的错误
在调用mapper方法后报错:
Result Maps collection does not contain value for java.lang.Integer
我检查了下我的mapper.xml文件,该方法是个insert方法,并没有resultMap参数,所以怎么可能报这个错误喃?查询网络全部都是说是resultMap参数导致的。。。
后仔细查看发现是由其他mapper.xml中的resultMap参数导致的错误