From 5f75515d78809c336cb1a004a8cacf53c982344b Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期五, 26 七月 2024 20:25:03 +0800
Subject: [PATCH] -加420订阅

---
 jcdm-main/src/main/resources/mapper/bs/formulaChildInfoTemp/BsFormulaChildInfoTempMapper.xml |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/jcdm-main/src/main/resources/mapper/bs/formulaChildInfoTemp/BsFormulaChildInfoTempMapper.xml b/jcdm-main/src/main/resources/mapper/bs/formulaChildInfoTemp/BsFormulaChildInfoTempMapper.xml
index ac0cd99..5f08819 100644
--- a/jcdm-main/src/main/resources/mapper/bs/formulaChildInfoTemp/BsFormulaChildInfoTempMapper.xml
+++ b/jcdm-main/src/main/resources/mapper/bs/formulaChildInfoTemp/BsFormulaChildInfoTempMapper.xml
@@ -32,10 +32,12 @@
         <result property="ngTimes"    column="ng_times"    />
         <result property="ngCollectData"    column="ng_collect_data"    />
         <result property="ngResults"    column="ng_results"    />
+        <result property="childId"    column="child_id"    />
+
     </resultMap>
 
     <sql id="selectBsFormulaChildInfoTempVo">
-        select id, sfc_code, line_code, processes_code, product_code, operation_steps, tech_requirement, operation_type, step_sort, param_code, material_code, formula_code, picture, remarks, create_user, create_time, update_user, update_time, spare_field1, spare_field2, spare_field3, spare_field4, collect_data, results, ng_times, ng_collect_data, ng_results from bs_formula_child_info_temp
+        select id, sfc_code, child_id,line_code, processes_code, product_code, operation_steps, tech_requirement, operation_type, step_sort, param_code, material_code, formula_code, picture, remarks, create_user, create_time, update_user, update_time, spare_field1, spare_field2, spare_field3, spare_field4, collect_data, results, ng_times, ng_collect_data, ng_results from bs_formula_child_info_temp
     </sql>
 
     <select id="selectBsFormulaChildInfoTempList" parameterType="BsFormulaChildInfoTemp" resultMap="BsFormulaChildInfoTempResult">
@@ -102,7 +104,8 @@
             <if test="ngTimes != null">ng_times,</if>
             <if test="ngCollectData != null">ng_collect_data,</if>
             <if test="ngResults != null">ng_results,</if>
-         </trim>
+            <if test="childId != null">child_id,</if>
+        </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="sfcCode != null">#{sfcCode},</if>
             <if test="lineCode != null">#{lineCode},</if>
@@ -130,7 +133,9 @@
             <if test="ngTimes != null">#{ngTimes},</if>
             <if test="ngCollectData != null">#{ngCollectData},</if>
             <if test="ngResults != null">#{ngResults},</if>
-         </trim>
+            <if test="childId != null">#{childId},</if>
+
+        </trim>
     </insert>
 
     <update id="updateBsFormulaChildInfoTemp" parameterType="BsFormulaChildInfoTemp">
@@ -162,6 +167,8 @@
             <if test="ngTimes != null">ng_times = #{ngTimes},</if>
             <if test="ngCollectData != null">ng_collect_data = #{ngCollectData},</if>
             <if test="ngResults != null">ng_results = #{ngResults},</if>
+            <if test="childId != null">child_id = #{childId},</if>
+
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3