All Downloads are FREE. Search and download functionalities are using the official Maven repository.

titan.lightbatis.mybatis.script.updateColumn.mustache Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
{{#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}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy