Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
new-nms
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
new-nms
Commits
ae963669
Commit
ae963669
authored
Feb 14, 2022
by
YazhouChen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建项目
parent
4efc57da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SpringBootPlusGenerator.java
...dea/springbootplus/generator/SpringBootPlusGenerator.java
+3
-3
No files found.
generator/src/main/java/io/geekidea/springbootplus/generator/SpringBootPlusGenerator.java
View file @
ae963669
...
...
@@ -43,13 +43,13 @@ public class SpringBootPlusGenerator {
// 设置基本信息
generatorProperties
.
setMavenModuleName
(
"
hongxinhui
"
)
//example //system
.
setMavenModuleName
(
"
newnms
"
)
//example //system
.
setParentPackage
(
"com.hongxinhui"
)
//com.admin //io.geekidea.springbootplus.system
.
setAuthor
(
"cyz"
)
.
setFileOverride
(
true
);
// 设置表信息
generatorProperties
.
addTable
(
"
news"
,
"ID
"
);
generatorProperties
.
addTable
(
"
user"
,
"id
"
);
// 数据源配置
generatorProperties
.
getDataSourceConfig
()
...
...
@@ -57,7 +57,7 @@ public class SpringBootPlusGenerator {
.
setUsername
(
"root"
)
.
setPassword
(
"changfa123$"
)
.
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment