break语句跳出当前循环,如下:
<#list table.columns as c> <#if c.isPK> <#assign pkName=c.columnName?cap_first /> <#break> </#if> </#list>