mirror of https://gitee.com/stylefeng/guns
升级代码生成
parent
f33982ac12
commit
5a4d825a26
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue