升级代码生成

pull/33/head
stylefeng 2017-10-30 17:58:15 +08:00
parent f33982ac12
commit 5a4d825a26
1 changed files with 13 additions and 9 deletions

View File

@ -55,16 +55,20 @@ public class GunsGeneratorConfig extends AbstractGeneratorConfig {
contextConfig.setEntityName("Bill"); contextConfig.setEntityName("Bill");
/** /**
* * mybatis-plus
*/ */
contextConfig.setEntitySwitch(true); contextConfig.setEntitySwitch(false);
contextConfig.setControllerSwitch(false); contextConfig.setDaoSwitch(false);
contextConfig.setDaoSwitch(true);
contextConfig.setServiceSwitch(false); contextConfig.setServiceSwitch(false);
contextConfig.setIndexPageSwitch(false);
contextConfig.setAddPageSwitch(false); /**
contextConfig.setEditPageSwitch(false); * guns
contextConfig.setJsSwitch(false); */
contextConfig.setInfoJsSwitch(false); contextConfig.setControllerSwitch(true);
contextConfig.setIndexPageSwitch(true);
contextConfig.setAddPageSwitch(true);
contextConfig.setEditPageSwitch(true);
contextConfig.setJsSwitch(true);
contextConfig.setInfoJsSwitch(true);
} }
} }