mybatis传入字符串分割成数组并且遍历(并判断是否包含逗号)
<if test="stringParam != null and stringParam != ''"> <if test="stringParam.indexOf(',') != -1"> and stringParam in <foreach item="item" index="index" collection="