一.使用方法
free-idea-mybatis是一个提高mybatis编码的插件。实现了dao代码跳转到mapper,mapper跳转回dao,mapper文件、statement查询自动生成功能。
IDEA插件Free Mybatis plugin
(1).实现mapper和mapper,xml文件的跳转
IDEA插件Free Mybatis plugin
IDEA插件Free Mybatis plugin
(2)自动生成mapper.xml文件
新建一个mapper接口,Alt+enter弹出下面的窗口
IDEA插件Free Mybatis plugin

(3)生成statement语句
alter+enter弹出
IDEA插件Free Mybatis plugin
IDEA插件Free Mybatis plugin
IDEA插件Free Mybatis plugin

相关文章: