#foreach($field in $childFieldList) #if($field.primaryPk == '1') #set($childPkField = $field) #break #end #end