<if test="@org.apache.commons.collections.CollectionUtils@isNotEmpty(customerNumList)">
AND share.customer_num IN
<foreach collection="customerNumList" item="customerNum" open="(" close=")" separator=",">
#{customerNum}
</foreach>
</if>
mybatis判断list查询条件
最新推荐文章于 2024-07-17 16:35:42 发布