META-INF.mybatis.FormUrlRepositoryMapper.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="lodsve.workflow.repository.FormUrlRepository"> <insert id="saveFormUrls" parameterType="List"> insert into t_form_url (id, url, url_type, flow_id) values <foreach collection="list" item="item" index="index" separator=","> (#{item.id}, #{item.url}, #{item.urlType}, #{item.flowId}) </foreach> </insert> </mapper>