titan.lightbatis.mybatis.script.updateColumn.mustache Maven / Gradle / Ivy
{{#insertable}}
{{!如果这个列是 identity 惟一ID}}
{{#identity}}
{{!如果这个列有之前缓存的值,取缓存里的值,否则取自身的值}}
{{>columnCacheHolder}}
{{>columnHolder}}
{{/identity}}
{{!如果这个列不是 identity }}
{{^identity}}
{{!如果这个列是自动生成的值。}}
{{#autoGenerated}}
{{>columnBindHolder}}
{{>columnHolder}}
{{/autoGenerated}}
{{!如果这个列不是自动生成的值}}
{{^autoGenerated}}
{{#if logicDelete}}
0
{{/if}}
{{#unless logicDelete}}
{{#if revision}}
0
{{/if}}
{{#unless revision}}
{{>columnHolder}}
{{/unless}}
{{/unless}}
{{/autoGenerated}}
{{/identity}}
,
{{/insertable}}