Commit 464b024a authored by 孙长纪's avatar 孙长纪

修改默认值

parent 60cbb305
......@@ -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模块中引入
```
......
......@@ -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
......
<?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$">
......
......@@ -54,7 +54,7 @@ public class GeneratorConfig {
/**
* true:以测试用例执行生成代码的方式
*/
private boolean exeTest = false;
private boolean exeTest = true;
public GeneratorConfig(String dbUrl, String dbUserName, String dbPasswd) {
this.connection = MybatisGenerator.getConnection(dbUrl, dbUserName, dbPasswd);
......
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