升级代码生成

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");
/**
*
* mybatis-plus
*/
contextConfig.setEntitySwitch(true);
contextConfig.setControllerSwitch(false);
contextConfig.setDaoSwitch(true);
contextConfig.setEntitySwitch(false);
contextConfig.setDaoSwitch(false);
contextConfig.setServiceSwitch(false);
contextConfig.setIndexPageSwitch(false);
contextConfig.setAddPageSwitch(false);
contextConfig.setEditPageSwitch(false);
contextConfig.setJsSwitch(false);
contextConfig.setInfoJsSwitch(false);
/**
* guns
*/
contextConfig.setControllerSwitch(true);
contextConfig.setIndexPageSwitch(true);
contextConfig.setAddPageSwitch(true);
contextConfig.setEditPageSwitch(true);
contextConfig.setJsSwitch(true);
contextConfig.setInfoJsSwitch(true);
}
}