Skip to content

Commit aec6fc2

Browse files
author
hewei
committed
OptimisticLockerPlugin nextVersion方法使用说明修正
1 parent cc439a3 commit aec6fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1391,8 +1391,8 @@ public class Test {
13911391
Tb.builder()
13921392
.id(102)
13931393
.field1("ts1")
1394-
.nextVersion(System.currentTimeMillis()) // 传入nextVersion
13951394
.build()
1395+
.nextVersion(System.currentTimeMillis()) // 传入nextVersion
13961396
);
13971397
// 对应生成的Sql: update tb set version = 1525773888559, field1 = 'ts1' where version = 100 and id = 102
13981398
}

0 commit comments

Comments
 (0)