1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| <?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.mes.temperingglass.mapper.TemperingGlassInfoMapper">
| <insert id="saveBatch">
| INSERT INTO tempering_glass_info (glass_id, flow_card_id, glass_type, width, height, thickness, filmsid,
| ishorizontal, tempering_layout_id,
| tempering_feed_sequence, x_coordinate, y_coordinate, angle, state, slot, engineer_id) VALUES
| <foreach collection="list" item="item" separator=",">
| (#{item.glassId}, #{item.flowCardId}, #{item.glassType}, #{item.width}, #{item.height}, #{item.thickness},
| #{item.filmsid},#{item.ishorizontal},
| #{item.temperingLayoutId}, #{item.temperingFeedSequence}, #{item.xCoordinate}, #{item.yCoordinate},
| #{item.angle}, #{item.state}, #{item.slot}, #{item.engineerId})
| </foreach>
| </insert>
|
| </mapper>
|
|