<?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.zg.project.wisdom.mapper.PkDatMapper">

    <insert id="batchInsertPkDat" parameterType="java.util.List">
        INSERT INTO pk.dat
        (wlh, num, ste, lnum, prf, gys, mrk, des_pro, inf, printer)
        VALUES
        <foreach collection="list" item="item" separator=",">
            (#{item.wlNo}, #{item.realQty}, 1, 1, #{item.sapNo},
            #{item.gysMc}, #{item.remark}, #{item.xmMs}, #{item.pcode}, #{item.printer})
        </foreach>
    </insert>

</mapper>
