<insert id="insertBatch" parameterType="java.util.Map"> INSERT INTO athena_pub_flowpool (agent_id, poolNbr) VALUES <foreach collection="list" item="pool" separator=","> (#{pool.agentId,jdbcType=BIGINT}, #{pool.poolNbr,jdbcType=VARCHAR}) </foreach> </insert>
mybatis批量插入参数为"List·Map·String,Object··"
最新推荐文章于 2022-10-21 18:02:01 发布