mybatis的配置文件里面list作为请求参数使用
<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.iyunv.com/blog/1518665
页:
[1]