This commit is contained in:
hewei
2017-08-07 13:13:07 +08:00
parent 62bdfb4af9
commit de89d4e521
+8 -1
View File
@@ -27,7 +27,7 @@ Maven引用:
<dependency>
<groupId>com.itfsw</groupId>
<artifactId>mybatis-generator-plugin</artifactId>
<version>1.0.15</version>
<version>1.0.16</version>
</dependency>
```
---------------------------------------
@@ -206,6 +206,13 @@ public class Test {
.field3("xx")
.field4("xx")
.build();
// 或者使用builder静态方法创建Builder
Tb table = Tb.builder()
.field1("xx")
.field2("xx")
.field3("xx")
.field4("xx")
.build();
}
}
```