<select id="selectByIds" resultMap="ResultMapParam"> SELECT * FROM COMP_SHOP WHERE COMP_SHOP.CS_DBID IN <foreach collection="shopIdList" item="item" separator="," open="(" close=")">
#{item}
</foreach>
</select>
<select id="selectByIds" resultMap="ResultMapParam"> SELECT * FROM COMP_SHOP WHERE COMP_SHOP.CS_DBID IN <foreach collection="shopIdList" item="item" separator="," open="(" close=")">
#{item}
</foreach>
</select>