标签:
<insert id="batchInsert" parameterType="list"> INSERT INTO AC_OPERATOR_ROLE (OPERATOR_ID, ROLE_ID) VALUES <foreach collection="list" item="record" index="index" separator=","> ( #{record.OPERATOR_ID}, #{record.ROLE_ID} ) </foreach> </insert>
可参考:http://blog.csdn.net/lin910429/article/details/38401061
标签:
原文地址:http://www.cnblogs.com/flying607/p/4884361.html