|
@@ -18,8 +18,8 @@ public class Generator {
|
|
|
String db_password = "root";
|
|
|
|
|
|
String javaDir = "C:/code";
|
|
|
- String parentPackage = "com.alvin.db";
|
|
|
- String tableName = "access_role";
|
|
|
+ String parentPackage = "com.bigtree.db";
|
|
|
+ String tableName = "data_set";
|
|
|
|
|
|
String author = "tianyun";
|
|
|
String tablePrefix = "t_";
|
|
@@ -43,7 +43,7 @@ public class Generator {
|
|
|
.packageConfig(builder -> {
|
|
|
builder.parent(parentPackage) // 设置父包名
|
|
|
.moduleName("") // 设置父包模块名
|
|
|
- .pathInfo(Collections.singletonMap(OutputFile.mapperXml, javaDir + "/../resources/mapper")); // 设置mapperXml生成路径
|
|
|
+ .pathInfo(Collections.singletonMap(OutputFile.mapperXml, javaDir + "/mapper")); // 设置mapperXml生成路径
|
|
|
})
|
|
|
.strategyConfig(builder -> {
|
|
|
//Controller
|