码迷,mamicode.com
首页 > 其他好文 > 详细

iBatis in或not in 查询

时间:2014-11-06 16:51:26      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:style   io   color   os   使用   sp   strong   div   on   

iBatis in或not in 查询


open:内容开头
close:内容结尾
conjunction:分隔符
 
<isNotNull prepend="and" property="uidList">
     weibouid [in | not in]
     <iterate property="uidList" open="(" close=")" conjunction=",">
          #uidList[]#
     </iterate>
</isNotNull>
 
 
使用in将not in去掉,not in反之

iBatis in或not in 查询

标签:style   io   color   os   使用   sp   strong   div   on   

原文地址:http://www.cnblogs.com/svennee/p/4078804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!