#foreach($!obj in $!tables)
<tr>
#if( "$!obj.name" == "ga_dtbz" )
#set($obj.description = $descriptionList[0])
#elseif( "$!obj.name" == "ga_heaj" )
#set($obj.description = $descriptionList[1])
#elseif( "$!obj.name" == "ga_hexs" )
#set($obj.description = $descriptionList[2])
#elseif( "$!obj.name" == "ga_xsaj" )
#set($obj.description = $descriptionList[3])
#elseif( "$!obj.name" == "ga_zlaj" )
#set($obj.description = $descriptionList[4])
#end
<td>$!obj.name</td>
<td>$!obj.schema</td>
velocity模板引擎foreach、if else以及赋值语句
最新推荐文章于 2025-04-25 09:56:05 发布