list判断
<if test="filterNames!=null and filterNames.size()>0">
</if>
foreach
<foreach collection="filterNames" item="v" separator="," open="(" close=")">
#{v}
</foreach>
list判断
<if test="filterNames!=null and filterNames.size()>0">
</if>
foreach
<foreach collection="filterNames" item="v" separator="," open="(" close=")">
#{v}
</foreach>