<if test="groupCodeList != null and groupCodeList.size()>0"> and(B.group_code is null or B.GROUP_CODE in <foreach item="item" index="index" collection="groupCodeList" open="(" separator="," close=")"> #{item} </foreach> ) </if>
Ibatis中sqlmap参数map中还需要套list的情况如何写?
http://hittyt.iteye.com/blog/1518665