Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mysql-generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
孙长纪
mysql-generator
Commits
464b024a
Commit
464b024a
authored
Apr 01, 2019
by
孙长纪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改默认值
parent
60cbb305
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
4 deletions
+4
-4
fileHashes.bin
.gradle/4.6/fileHashes/fileHashes.bin
+0
-0
fileHashes.lock
.gradle/4.6/fileHashes/fileHashes.lock
+0
-0
README.md
README.md
+1
-1
build.gradle
build.gradle
+1
-1
mysql-generator.iml
mysql-generator.iml
+1
-1
GeneratorConfig.java
.../cn/com/duiba/mysql/generator/entity/GeneratorConfig.java
+1
-1
No files found.
.gradle/4.6/fileHashes/fileHashes.bin
View file @
464b024a
No preview for this file type
.gradle/4.6/fileHashes/fileHashes.lock
View file @
464b024a
No preview for this file type
README.md
View file @
464b024a
...
...
@@ -6,7 +6,7 @@
##使用方式
1.
首先根目录build.gradle文件中引入
```
dependency("cn.com.duiba:mysql-generator:0.1.
0
")
dependency("cn.com.duiba:mysql-generator:0.1.
2
")
```
2.
在biz模块中引入
```
...
...
build.gradle
View file @
464b024a
...
...
@@ -18,7 +18,7 @@ apply plugin: "idea"
apply
plugin:
"eclipse"
group
=
"cn.com.duiba"
version
=
"0.
1.2
"
version
=
"0.
2.0
"
sourceCompatibility
=
1.8
targetCompatibility
=
1.8
...
...
mysql-generator.iml
View file @
464b024a
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
"mysql-generator"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$"
external.system.id=
"GRADLE"
external.system.module.group=
"cn.com.duiba"
external.system.module.version=
"0.
1.2
"
type=
"JAVA_MODULE"
version=
"4"
>
<module
external.linked.project.id=
"mysql-generator"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$"
external.system.id=
"GRADLE"
external.system.module.group=
"cn.com.duiba"
external.system.module.version=
"0.
2.0
"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
...
...
src/main/java/cn/com/duiba/mysql/generator/entity/GeneratorConfig.java
View file @
464b024a
...
...
@@ -54,7 +54,7 @@ public class GeneratorConfig {
/**
* true:以测试用例执行生成代码的方式
*/
private
boolean
exeTest
=
fals
e
;
private
boolean
exeTest
=
tru
e
;
public
GeneratorConfig
(
String
dbUrl
,
String
dbUserName
,
String
dbPasswd
)
{
this
.
connection
=
MybatisGenerator
.
getConnection
(
dbUrl
,
dbUserName
,
dbPasswd
);
...
...
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