mybatis注解开发 @Delete 批量删除
注意:<script></script>
@Delete("<script>
delete from product where id in
<foreach collection='array' item='id' open='(' separator=',' close=')'>#{id}</foreach>
</script>")
void delete(int[] ids);