|
@@ -27,7 +27,7 @@ public class CodeGeneration {
|
|
|
|
|
|
// 全局配置
|
|
|
GlobalConfig gc = new GlobalConfig();
|
|
|
- gc.setOutputDir("c://code//mrqcsys");
|
|
|
+ gc.setOutputDir("E://code//mrqcsys");
|
|
|
gc.setFileOverride(true);
|
|
|
gc.setActiveRecord(false);// 不需要ActiveRecord特性的请改为false
|
|
|
gc.setEnableCache(false);// XML 二级缓存
|
|
@@ -56,7 +56,7 @@ public class CodeGeneration {
|
|
|
StrategyConfig strategy = new StrategyConfig();
|
|
|
// strategy.setTablePrefix(new String[] { "med_" });// 此处可以修改为您的表前缀
|
|
|
strategy.setNaming(NamingStrategy.underline_to_camel);// 表名生成策略
|
|
|
- strategy.setInclude(new String[] { "qc_type"}); // 需要生成的表
|
|
|
+ strategy.setInclude(new String[] { "str_consultation_record"}); // 需要生成的表
|
|
|
|
|
|
strategy.setSuperServiceClass(null);
|
|
|
strategy.setSuperServiceImplClass(null);
|