IBatisNet In 参数配置方法
配额制方法:
<isNotEmpty prepend="AND" property="resIds">
res_id in
<iterate property="resIdsLong" open="(" close=")" conjunction="," >
#resIdsLong[]#
</iterate>
</isNotEmpty>
效果如:(也是参数的方式)
and res_id in (#resIdsLong[0]#,#resIdsLong[1]# ,#resIdsLong[2]#,.... )
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)