From d337c8e2e21df8ff7d2ecae493fa7a65627fedea Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期四, 22 五月 2025 14:52:48 +0800
Subject: [PATCH] 处理焊缝大数据插入异常问题

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStandardMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStandardMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStandardMapper.xml
index bf80750..4cbf684 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStandardMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStandardMapper.xml
@@ -12,11 +12,12 @@
         <result property="hupQty"    column="hup_qty"    />
         <result property="lodQty"    column="lod_qty"    />
         <result property="type"    column="type"    />
+        <result property="plant"    column="plant"    />
         <result property="delFlag"    column="del_flag"    />
     </resultMap>
 
     <sql id="selectApsWeldSeamStandardVo">
-        select id, item_code, item_figure, item_figure_version, hup_qty, lod_qty, type, del_flag from aps_weld_seam_standard
+        select id, item_code, item_figure, item_figure_version, hup_qty, lod_qty, type, plant, del_flag from aps_weld_seam_standard
     </sql>
 
     <select id="selectApsWeldSeamStandardList" parameterType="com.aps.core.domain.ApsWeldSeamStandard" resultMap="ApsWeldSeamStandardResult">
@@ -28,6 +29,7 @@
             <if test="hupQty != null "> and hup_qty = #{hupQty}</if>
             <if test="lodQty != null "> and lod_qty = #{lodQty}</if>
             <if test="type != null  and type != ''"> and type = #{type}</if>
+            <if test="plant != null  and plant != ''"> and plant = #{plant}</if>
             and del_flag = 0
         </where>
     </select>

--
Gitblit v1.9.3