<?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.FranchiseeCustomFieldMapper">

    <insert id="batchInsert">
        insert into ftb_franchisee_custom_field
        (
            F_Id,
            F_FranchiseeId,
            F_FieldName,
            F_FieldValue,
            F_Sorts,
            F_EnabledMark
        )
        values
        <foreach collection="entities" item="entity" separator=",">
            (
                #{entity.id},
                #{entity.franchiseeId},
                #{entity.fieldName},
                #{entity.fieldValue},
                #{entity.sorts},
                #{entity.enabledMark}
            )
        </foreach>
    </insert>

</mapper>
