Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mybatis-generator-plugin
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mybatis-generator-plugin
Commits
9113d03b
Commit
9113d03b
authored
Aug 09, 2018
by
hewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix[issues#38]:文档错误
parent
98daca60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+5
-5
No files found.
README.md
View file @
9113d03b
...
...
@@ -393,9 +393,9 @@ public class Test {
<!-- 逻辑删除-未删除值 -->
<property
name=
"logicalUnDeleteValue"
value=
"0"
/>
<!-- 逻辑删除常量名称,不配置默认为 IS_DELETED -->
<property
name=
"logicalDelete
Valu
e"
value=
"IS_DELETED"
/>
<property
name=
"logicalDelete
ConstNam
e"
value=
"IS_DELETED"
/>
<!-- 逻辑删除常量(未删除)名称,不配置默认为 NOT_DELETED -->
<property
name=
"logicalUnDelete
Valu
e"
value=
"NOT_DELETED"
/>
<property
name=
"logicalUnDelete
ConstNam
e"
value=
"NOT_DELETED"
/>
</plugin>
<table
tableName=
"tb"
>
...
...
@@ -1177,13 +1177,13 @@ public class Test {
<xml>
<!-- 乐观锁插件 -->
<plugin
type=
"com.itfsw.mybatis.generator.plugins.OptimisticLockerPlugin"
>
<!-- 是否启用自定义nextVersion
, 默认不启用使用(
使用sql的 set column = column + 1) -->
<property
name=
"customizedNextVersion"
value=
"
tru
e"
/>
<!-- 是否启用自定义nextVersion
,默认不启用(插件会默认
使用sql的 set column = column + 1) -->
<property
name=
"customizedNextVersion"
value=
"
fals
e"
/>
</plugin>
<table
tableName=
"tb"
>
<!-- 这里可以单独表配置,覆盖全局配置 -->
<property
name=
"customizedNextVersion"
value=
"
fals
e"
/>
<property
name=
"customizedNextVersion"
value=
"
tru
e"
/>
<!-- 指定版本列 -->
<property
name=
"versionColumn"
value=
"version"
/>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment