idea中 mybatis的mapper类去找对应的mapper.xml中的方法,使用插件mybatis-plugin,名字可能叫Free mybatis-plugin

 IDEA Mybatis Plugin插件(方便在Dao接口和Mappper XML文件之间进行切换_xml

 

安装上之后,可能需要重启idea,效果如下:

IDEA Mybatis Plugin插件(方便在Dao接口和Mappper XML文件之间进行切换_重启_02

IDEA Mybatis Plugin插件(方便在Dao接口和Mappper XML文件之间进行切换_ide_03