concatList
/**
* concatList
*
* @param $list:list:列表
* @param $fieldId:string:合并属性
* @param $ch:string:分隔符
*
* @return number
*
*/
#function concatList($list, $fieldId, $ch)
#set($concatStr = '')
#if ($vs.util.isBlankOne($list, $fieldId, $ch))
return $concatStr
#end
#foreach($item in $list)
#set($str = $item.get($fieldId))
#if ($vs.util.isNotNull($str))
#set($concatStr = $concatStr + $ch + $str)
#end
#end
#set($concatStr = $vs.util.replaceFirst($concatStr, $ch, ''))
return $concatStr
#end