ibatis中iterate标签中嵌套isEqual
<isNotNull property="nameList" prepend="and">
<iterate property="nameList" open="(" close=")" conjunction="or">
<isEqual property="nameList[]" compareValue="abc">
name = nameList[]
</isEqual>
<isEqual property="nameList[]" compareValue="cd">
name = nameList[]
</isEqual>
</iterate>
</isNotNull>
Ibatis标签中的懒加载
ibatis在结果集映射中,可以通过
再次进行查询赋值,但不是立即查询,而是再进行调用时,才会进行懒加载