标签:
<if test="params.status != null" > and a.status in <foreach collection="params.status" index="index" item="item" open="(" separator="," close=")"> #{item} </foreach> </if>
mybaits xml foreach循环(用于sql in语句)
标签:
原文地址:http://my.oschina.net/reesechou/blog/498808