template.singlehtml.include.tables.ftl Maven / Gradle / Ivy
[#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] /]
${i}
${table.name.value?lower_case} ${table.comment!}
[#if tables[i-1+tabcnt]??]
[#assign table= sortedTables[i-1+tabcnt] /]
${i+tabcnt}
${table.name.value?lower_case} ${table.comment!}
[#else]
[/#if]
[/#list]
[/#if]
[/#list]
[/#list]
[/#list]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy