Easycode是idea的一个插件,可以直接对数据的表生成entity,controller,service,dao,mapper,无需任何编码,简单而强大。 1. 安装插件 Easy Code 2. 在IDEA配置连接数据库 3. 选择需要生成的表