mybaties foreach in
<if test="typeList != null and typeList.size() > 0">
AND kbase.type in
<foreach item="item" index="index" collection="typeList" open="(" separator="," close=")">
#{item}
</foreach>
</if>
不积跬步,无以至千里;不积小流,无以成江海。