1 2 3 4 5 6 7 8 9 10 11 12 13 14
| <insert id="insertBatch" parameterType="java.util.List"> insert into cms_customer_change_record(customer_id,type,sys_user_id,content,create_time,create_by) VALUES <foreach collection="customerChangeRecordList" item="item" separator =","> <trim prefix="(" suffix=")" suffixOverrides=","> #{item.customerId}, #{item.type}, #{item.sysUserId}, #{item.content}, #{item.createTime}, #{item.createBy}, </trim> </foreach> </insert>
|