mybatis语法

 list判断

<if test="filterNames!=null and filterNames.size()>0">

</if>

foreach

<foreach collection="filterNames" item="v" separator="," open="(" close=")">
   #{v}
</foreach>

猜你喜欢

转载自blog.csdn.net/kq1983/article/details/84106550