<?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="com.younike.system.mapper.MerchantSettleRecordMapper">
    <insert id="saveBatch">
        <foreach collection="list" item="item" index="index" separator=";">
            INSERT INTO merchant_settle_record ( `settle_id`, `merchant_id`, `amount`, `ret_code`, `ret_msg`) VALUES ( #{item.settleId}, #{item.merchantId}, #{item.amount}, #{item.retCode}, #{item.retMsg} )
        </foreach>
    </insert>
</mapper>