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

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

There is a newer version: 0.0.40
Show newest version
[#ftl]
[#list report.schemas as schema]
  [#list schema.modules as module]
    [#list module.groups as group]
    [#assign tables = group.tables/]
${schema.title}中的${module.title}-${group.title}下共计${tables?size}个表(${schema.name}.),分别如下:


  [#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!}
[/#list] [/#list] [/#list]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy