如何给DB2数据库的存储过程中 where 的in 条件传参数

如题所述

如何给DB2数据库的存储过程中 where 的in 条件传参数
需要用到如下方法:
<selectid="selectProductList"parameterClass="list"resultClass="ProductBean">
SELECT * FROM product WHERE pname in <iterateopen="("close=")"conjunction=",">#[]#</iterate> </select>
温馨提示:答案为网友推荐,仅供参考