`

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.iteye.com/blog/1518665

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics