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
ee4eb793
Commit
ee4eb793
authored
Jun 12, 2019
by
flying-cattle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示修改
parent
a6b8588c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
MyGenerator.java
src/test/java/com/flying/cattle/mdg/MyGenerator.java
+22
-22
No files found.
src/test/java/com/flying/cattle/mdg/MyGenerator.java
View file @
ee4eb793
...
...
@@ -20,28 +20,28 @@ import com.github.flying.cattle.mdg.util.MySqlToJavaUtil;
* <p>源码地址:https://gitee.com/flying-cattle/mybatis-dsc-generator</P>
*/
public
class
MyGenerator
{
// 基础信息
public
static
final
String
PROJECT
=
"springboot-mybatis"
;
public
static
final
String
AUTHOR
=
"flying-cattle
"
;
public
static
final
String
VERSION
=
"V1.0"
;
// 数据库连接信息
public
static
final
String
URL
=
"jdbc:mysql://192.168.9.246:3306/buybit_wallet
?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&failOverReadOnly=false&useSSL=true&serverTimezone=UTC"
;
public
static
final
String
NAME
=
"buybit_walle
t"
;
public
static
final
String
PASS
=
"buybit_wallet3M!
"
;
public
static
final
String
DATABASE
=
"buybit_wallet
"
;
// 类信息
public
static
final
String
TABLE
=
"user
"
;
public
static
final
String
CLASSNAME
=
"User
"
;
public
static
final
String
CLASSCOMMENT
=
"用户
"
;
public
static
final
String
TIME
=
"2019年5月20
日"
;
public
static
final
String
AGILE
=
new
Date
().
getTime
()
+
""
;
// 路径信息,分开路径方便聚合工程项目,微服务项目
public
static
final
String
ENTITY_URL
=
"com.flying.cattle
.entity"
;
public
static
final
String
DAO_URL
=
"com.flying.cattle
.dao"
;
public
static
final
String
XML_URL
=
"com.flying.cattle
.dao.impl"
;
public
static
final
String
SERVICE_URL
=
"com.flying.cattle
.service"
;
public
static
final
String
SERVICE_IMPL_URL
=
"com.flying.cattle
.service.impl"
;
public
static
final
String
CONTROLLER_URL
=
"com.flying.cattle
.web"
;
// 基础信息
:项目名、作者、版本
public
static
final
String
PROJECT
=
"wallet-sign"
;
public
static
final
String
AUTHOR
=
"BianPeng
"
;
public
static
final
String
VERSION
=
"V1.0"
;
// 数据库连接信息:连接URL、用户名、秘密、数据库名
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
=
"roo
t"
;
public
static
final
String
PASS
=
"pwd2020
"
;
public
static
final
String
DATABASE
=
"earn_knife
"
;
// 类信息:类名、数据库表名、类说明、时间
public
static
final
String
CLASSNAME
=
"CollectionRoute
"
;
public
static
final
String
TABLE
=
"collection_route
"
;
public
static
final
String
CLASSCOMMENT
=
"资金归集
"
;
public
static
final
String
TIME
=
"2019年6月12
日"
;
public
static
final
String
AGILE
=
new
Date
().
getTime
()
+
""
;
// 路径信息,分开路径方便聚合工程项目,微服务项目
public
static
final
String
ENTITY_URL
=
"com.buybit.ws
.entity"
;
public
static
final
String
DAO_URL
=
"com.buybit.ws
.dao"
;
public
static
final
String
XML_URL
=
"com.buybit.ws
.dao.impl"
;
public
static
final
String
SERVICE_URL
=
"com.buybit.ws
.service"
;
public
static
final
String
SERVICE_IMPL_URL
=
"com.buybit.ws
.service.impl"
;
public
static
final
String
CONTROLLER_URL
=
"com.buybit.ws
.web"
;
public
static
void
main
(
String
[]
args
)
{
BasisInfo
bi
=
new
BasisInfo
(
PROJECT
,
AUTHOR
,
VERSION
,
URL
,
NAME
,
PASS
,
DATABASE
,
TIME
,
AGILE
,
ENTITY_URL
,
...
...
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