1.MybatisX-Generator是Mybatis-Plus开发的代码生成插件,插件市场下载并安装插件 2.IDEA连接数据库,选中对应表,右键 3.点击MybatisX-Generator 4.选中相应条件