freemarker在遍历或循环时,跟java一样,用break语句跳出当前循环,如下:
<#list table.columns as c>
<#if c.isPK>
<#assign pkName=c.columnName?cap_first />
<#break>
</#if>
</#list>