From b708501ac6dbf07114c65f424b94aeb22e9319b5 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期三, 10 七月 2024 12:35:10 +0800
Subject: [PATCH] 添加plc汇报破损时往报工表添加破损数据

---
 hangzhoumesParent/common/servicebase/src/main/resources/mapper/TemperingGlassInfoMapper.xml |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/hangzhoumesParent/common/servicebase/src/main/resources/mapper/TemperingGlassInfoMapper.xml b/hangzhoumesParent/common/servicebase/src/main/resources/mapper/TemperingGlassInfoMapper.xml
index 73f527f..c85d6d5 100644
--- a/hangzhoumesParent/common/servicebase/src/main/resources/mapper/TemperingGlassInfoMapper.xml
+++ b/hangzhoumesParent/common/servicebase/src/main/resources/mapper/TemperingGlassInfoMapper.xml
@@ -2,11 +2,14 @@
 <!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, width, height, thickness, tempering_layout_id,
-        tempering_feed_sequence, "state" ) VALUES
+        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 ) VALUES
         <foreach collection="list" item="item" separator=",">
-            (#{item.glassId}, #{item.width}, #{item.height}, #{item.thickness}, #{item.temperingLayoutId},
-            #{item.temperingFeedSequence}, #{item.state})
+            (#{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})
         </foreach>
     </insert>
 

--
Gitblit v1.8.0