ibatis sql in 的写法,ibatis

businessIdList<Integer> 就是要传入的参数 

<isNotNull property="businessIdList" prepend="and">
          b.id in 
             <iterate open="(" close=")" conjunction=","  property="businessIdList"> 
               #businessIdList[]# 
             </iterate>
</isNotNull>

你可能感兴趣的:(ibatis)