|
@@ -40,7 +40,7 @@ import com.baomidou.mybatisplus.toolkit.TableInfoHelper;
|
|
|
* How to work?<BR>
|
|
|
* if update entity with version column=1:<BR>
|
|
|
* (1) no {@link OptimisticLockerInterceptor}:<BR>
|
|
|
- * SQL: update tbl_test set name='abc' where id=100001;
|
|
|
+ * SQL: update tbl_test set name='abc' where id=100001;<BR>
|
|
|
* (2) add {@link OptimisticLockerInterceptor}:<BR>
|
|
|
* SQL: update tbl_test set name='abc',version=2 where id=100001 and version=1;
|
|
|
* </p>
|