Skip to content

Commit 12535ec

Browse files
author
hewei
committed
V1.3.7
1 parent aac98d7 commit 12535ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Maven引用:
4545
<dependency>
4646
<groupId>com.itfsw</groupId>
4747
<artifactId>mybatis-generator-plugin</artifactId>
48-
<version>1.3.6</version>
48+
<version>1.3.7</version>
4949
</dependency>
5050
```
5151
---------------------------------------
@@ -100,7 +100,7 @@ targetCompatibility = 1.8
100100
101101
102102
def mybatisGeneratorCore = 'org.mybatis.generator:mybatis-generator-core:1.3.7'
103-
def itfswMybatisGeneratorPlugin = 'com.itfsw:mybatis-generator-plugin:1.3.6'
103+
def itfswMybatisGeneratorPlugin = 'com.itfsw:mybatis-generator-plugin:1.3.7'
104104
105105
mybatisGenerator {
106106
verbose = false
@@ -1632,8 +1632,8 @@ public class Test {
16321632
.id(102)
16331633
.field4(new Date())
16341634
.build()
1635-
.increment(Tb.Column.field1.inc(1)) // 字段1 统计增加1
1636-
.increment(Tb.Column.field2.dec(2)); // 字段2 统计减去2
1635+
.increment(Tb.Increment.field1.inc(1)) // 字段1 统计增加1
1636+
.increment(Tb.Increment.field2.dec(2)); // 字段2 统计减去2
16371637
// 更新操作,可以是 updateByExample, updateByExampleSelective, updateByPrimaryKey
16381638
// , updateByPrimaryKeySelective, upsert, upsertSelective等所有涉及更新的操作
16391639
this.tbMapper.updateByPrimaryKey(tb);

0 commit comments

Comments
 (0)