|
@@ -56,7 +56,7 @@ public class CodeGeneration {
|
|
StrategyConfig strategy = new StrategyConfig();
|
|
StrategyConfig strategy = new StrategyConfig();
|
|
strategy.setTablePrefix(new String[] { "tran_" });// 此处可以修改为您的表前缀
|
|
strategy.setTablePrefix(new String[] { "tran_" });// 此处可以修改为您的表前缀
|
|
strategy.setNaming(NamingStrategy.underline_to_camel);// 表名生成策略
|
|
strategy.setNaming(NamingStrategy.underline_to_camel);// 表名生成策略
|
|
- strategy.setInclude(new String[] { "tran_sys_set" }); // 需要生成的表
|
|
|
|
|
|
+ strategy.setInclude(new String[] { "tran_hospital_dept" }); // 需要生成的表
|
|
|
|
|
|
strategy.setSuperServiceClass(null);
|
|
strategy.setSuperServiceClass(null);
|
|
strategy.setSuperServiceImplClass(null);
|
|
strategy.setSuperServiceImplClass(null);
|