<insert >
INSERT INTO tag (
`tag_name`,
`tag_weight`,
)
VALUES
<foreach collection ="list" item="tag" separator =",">
(#{tag.tagName}, #{tag.tagWeight})
</foreach >
<insert >
INSERT INTO tag (
`tag_name`,
`tag_weight`,
)
VALUES
<foreach collection ="list" item="tag" separator =",">
(#{tag.tagName}, #{tag.tagWeight})
</foreach >
相关文章: