1)、<if test="intype!=null">and type in (${intype})</if>
2)、<if test="list != null">
and status in
<foreach item="item" index="index" collection="list" open="(" separator="," close=")">
#{item}
</foreach>
</if>
xml in 两种方法
最新推荐文章于 2023-08-31 15:05:41 发布