<insert id="insertBatchList"> INSERT INTO tag ( `tag_name`, `tag_weight`, ) VALUES <foreach collection ="list" item="tag" separator =","> (#{tag.tagName}, #{tag.tagWeight}) </foreach >
<insert id="insertBatchList"> INSERT INTO tag ( `tag_name`, `tag_weight`, ) VALUES <foreach collection ="list" item="tag" separator =","> (#{tag.tagName}, #{tag.tagWeight}) </foreach >