<?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="jnpf.franchisee.mapper.FranchiseeJoinRegionMapper">

    <insert id="batchInsert">
        insert into ftb_franchisee_join_region
        (
            F_Id,
            F_FranchiseeId,
            F_Province,
            F_City,
            F_District,
            F_County
        )
        values
        <foreach collection="entities" item="entity" separator=",">
            (
                #{entity.id},
                #{entity.franchiseeId},
                #{entity.province},
                #{entity.city},
                #{entity.district},
                #{entity.county}
            )
        </foreach>
    </insert>

</mapper>
