1.场景分析
在实际项目中,很多寻常的逻辑,例如:数据库表的增,删,改,查;这些徒手写确实有些费人力又费时间,今天笔者向大家介绍自动生成代码的插件:mybatis-generator
2.实现步骤
①在pom.xml中配置generator插件
<build> <plugins> <!-- Package the project as an executable jar --> <plugin> <groupId>org.springframework.boot</groupId> <artifactId&