直接上代码
WHERE id in
<foreach item="item" index="index" collection="ids.split(',')" open="(" separator="," close=")">
'#{item}'
</foreach>
直接上代码
WHERE id in
<foreach item="item" index="index" collection="ids.split(',')" open="(" separator="," close=")">
'#{item}'
</foreach>