Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-generator
Overview
Overview
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
余保谷
ydl-generator
Commits
c4fd107c
Commit
c4fd107c
authored
Apr 13, 2019
by
flying-cattle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改敏感字
parent
22b7f356
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TestMain.java
src/main/java/com/github/mybatis/fl/test/TestMain.java
+2
-2
No files found.
src/main/java/com/github/mybatis/fl/test/TestMain.java
View file @
c4fd107c
...
...
@@ -21,7 +21,7 @@ public class TestMain {
//数据库连接信息
public
static
final
String
URL
=
"jdbc:mysql://127.0.0.1:3306/earn_knife?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&failOverReadOnly=false&useSSL=true&serverTimezone=UTC"
;
public
static
final
String
NAME
=
"root"
;
public
static
final
String
PASS
WORD
=
"pwd2020"
;
public
static
final
String
PASS
=
"pwd2020"
;
public
static
final
String
DATABASE
=
"earn_knife"
;
//类信息
public
static
final
String
TABLE
=
"user"
;
...
...
@@ -39,7 +39,7 @@ public class TestMain {
public
static
void
main
(
String
[]
args
)
{
BasisInfo
bi
=
new
BasisInfo
(
PROJECT
,
AUTHOR
,
VERSION
,
URL
,
NAME
,
PASS
WORD
,
DATABASE
,
TIME
,
AGILE
,
ENTITY_URL
,
DAO_URL
,
XML_URL
,
SERVICE_URL
,
SERVICE_IMPL_URL
,
CONTROLLER_URL
);
BasisInfo
bi
=
new
BasisInfo
(
PROJECT
,
AUTHOR
,
VERSION
,
URL
,
NAME
,
PASS
,
DATABASE
,
TIME
,
AGILE
,
ENTITY_URL
,
DAO_URL
,
XML_URL
,
SERVICE_URL
,
SERVICE_IMPL_URL
,
CONTROLLER_URL
);
bi
.
setTable
(
TABLE
);
bi
.
setEntityName
(
MySqlToJavaUtil
.
getClassName
(
TABLE
));
bi
.
setObjectName
(
MySqlToJavaUtil
.
changeToJavaFiled
(
TABLE
));
...
...
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