template.jekyll.include.sequences.ftl Maven / Gradle / Ivy
The newest version!
[#ftl]
数据库共计${sequences?size}个序列,分别如下:
序号
表名/描述
序号
表名/描述
[#if sequences?size>0]
[#assign seqcnt = (sequences?size/2)?int]
[#if sequences?size%2>0][#assign seqcnt = seqcnt+1][/#if]
[#assign sortedSeqs = sequences?sort_by("name")/]
[#list 1..seqcnt as i]
[#assign seq= sortedSeqs[i-1] /]
${i}
${seq.name.value?lower_case}
${seq.comment!}
[#if sequences[i-1+seqcnt]??]
[#assign seq= sortedSeqs[i-1+seqcnt] /]
${i+seqcnt}
${seq.name.value?lower_case}
${seq.comment!}
[#else]
[/#if]
[/#list]
[/#if]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy