Commit fb660ffa authored by 孙长纪's avatar 孙长纪

增加说明文件

parent bf43cec6
...@@ -54,7 +54,7 @@ public class MysqlGeneratorTest { ...@@ -54,7 +54,7 @@ public class MysqlGeneratorTest {
config.setTableName(TABLE_NAME); config.setTableName(TABLE_NAME);
//表前缀,设置该值后生成的Entity,dao,daoImpl类不会以tb开头 //表前缀,设置该值后生成的Entity,dao,daoImpl类不会以tb开头
config.setTablePrefix("tb"); config.setTablePrefix("tb");
//生成代码所在模块名称,可以不写 //生成代码所在模块名称,如果该代码在生成代码的模块下,可以不写,如果不在需要加上对应模块名称
config.setModuleName(""); config.setModuleName("");
MybatisGenerator.genCode(config); MybatisGenerator.genCode(config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment