mybatis 处理in

<if test="param.type != null ">and type in
<foreach item="item" index="index" collection="param.type" open="(" separator="," close=")">
#{item}
</foreach>
</if>

posted on 2017-04-28 17:16  miu丶苏  阅读(205)  评论(0编辑  收藏  举报

导航