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

template.jekyll.include.tables.ftl Maven / Gradle / Ivy

There is a newer version: 0.0.40
Show newest version
[#ftl]
[#assign tables = module.tables/]
Schema ${module.schema.name}[#if module.name??].${module.name}[/#if]下共计${tables?size}个表,分别如下:


  [#if tables?size>0]
  [#assign tabcnt = (tables?size/2)?int]
  [#if tables?size%2>0][#assign tabcnt = tabcnt+1][/#if]
  [#assign sortedTables = tables?sort_by("name")/]
  [#list 1..tabcnt as i]
  
    [#assign table= sortedTables[i-1] /]
    
    [#if tables[i-1+tabcnt]??]
    [#assign table= sortedTables[i-1+tabcnt] /]
    
    [#else]
    
    [/#if]
  
  [/#list]
  [/#if]
序号 表名/描述 序号 表名/描述
${i} ${table.name.value?lower_case} ${table.comment!}${i+tabcnt} ${table.name.value?lower_case} ${table.comment!}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy