Commit ae963669 authored by YazhouChen's avatar YazhouChen

创建项目

parent 4efc57da
...@@ -43,13 +43,13 @@ public class SpringBootPlusGenerator { ...@@ -43,13 +43,13 @@ public class SpringBootPlusGenerator {
// 设置基本信息 // 设置基本信息
generatorProperties generatorProperties
.setMavenModuleName("hongxinhui")//example //system .setMavenModuleName("newnms")//example //system
.setParentPackage("com.hongxinhui")//com.admin //io.geekidea.springbootplus.system .setParentPackage("com.hongxinhui")//com.admin //io.geekidea.springbootplus.system
.setAuthor("cyz") .setAuthor("cyz")
.setFileOverride(true); .setFileOverride(true);
// 设置表信息 // 设置表信息
generatorProperties.addTable("news","ID"); generatorProperties.addTable("user","id");
// 数据源配置 // 数据源配置
generatorProperties.getDataSourceConfig() generatorProperties.getDataSourceConfig()
...@@ -57,7 +57,7 @@ public class SpringBootPlusGenerator { ...@@ -57,7 +57,7 @@ public class SpringBootPlusGenerator {
.setUsername("root") .setUsername("root")
.setPassword("changfa123$") .setPassword("changfa123$")
.setDriverName("com.mysql.jdbc.Driver") .setDriverName("com.mysql.jdbc.Driver")
.setUrl("jdbc:mysql://114.67.82.178:3306/hxh?useUnicode=true&characterEncoding=UTF-8&useSSL=false"); .setUrl("jdbc:mysql://114.67.82.178:3306/newnms?useUnicode=true&characterEncoding=UTF-8&useSSL=false");
// 生成配置 // 生成配置
generatorProperties.getGeneratorConfig() generatorProperties.getGeneratorConfig()
......
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