|
@@ -204,7 +204,7 @@ public class CodeGenerator {
|
|
//若想要生成的实体类继承某个Controller,则可打开下面注释。写上需要继承的Controller的位置即可
|
|
//若想要生成的实体类继承某个Controller,则可打开下面注释。写上需要继承的Controller的位置即可
|
|
// strategy.setSuperControllerClass("com.baomidou.ant.common.BaseController");
|
|
// strategy.setSuperControllerClass("com.baomidou.ant.common.BaseController");
|
|
//此处user是表名,多个英文逗号分割
|
|
//此处user是表名,多个英文逗号分割
|
|
- strategy.setInclude("tb_project_file");
|
|
|
|
|
|
+ strategy.setInclude("tb_mould");
|
|
// strategy.setExclude();//数据库表全生成
|
|
// strategy.setExclude();//数据库表全生成
|
|
// strategy.setInclude(scanner("user").split(","));//表名,多个英文逗号分割
|
|
// strategy.setInclude(scanner("user").split(","));//表名,多个英文逗号分割
|
|
strategy.setControllerMappingHyphenStyle(true);
|
|
strategy.setControllerMappingHyphenStyle(true);
|