求助myBatis sqlMap foreach 对象中的list传入,报错

如题所述

求助myBatis sqlMap foreach 对象中的list传入,报错
应该没啥问题吧

<if test="userIds!=null">
AND SYS_USER.ID in <foreach collection="userIds" item="uid" open="(" separator="," close=")"> #{uid}</foreach>
</if>
温馨提示:答案为网友推荐,仅供参考