<if test="groupIds != null and groupIds.size>0"> and (group_id in<foreach collection="groupIds" index="index" item="item" open="(" separator="," close=")">#{item}</foreach>) </if>
在mybtis的映射文件中判断集合大小
猜你喜欢
转载自www.cnblogs.com/xiaoshen666/p/11245859.html
今日推荐
周排行