标签:for col tor values param volist cti tis imp
<insert id="importData" parameterType="list"> insert into user <trim prefix="(" suffix=")" suffixOverrides=","> id, name, age, </trim> values <foreach collection="voList" item="vo" separator=","> ( #{vo.id}, #{vo.name}, #{vo.age} ) </foreach> </insert>
标签:for col tor values param volist cti tis imp
原文地址:https://www.cnblogs.com/gfbzs/p/13356666.html