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/formulaChild/BsFormulaChildInfoMapper.xml | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml b/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml index 05bb608..3900c59 100644 --- a/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml +++ b/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml @@ -29,12 +29,15 @@ <result property="spareField4" column="spare_field4" /> <result property="collectData" column="collect_data" /> <result property="results" column="results" /> + <result property="ngCollectData" column="ng_collect_data" /> + <result property="ngResults" column="ng_results" /> + <result property="ngTimes" column="ng_times" /> <result property="counts" column="counts" /> </resultMap> <sql id="selectBsFormulaChildInfoVo"> - select id, workshop_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 from bs_formula_child_info + select id, workshop_code, line_code, ng_times,ng_results,ng_results, 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 from bs_formula_child_info </sql> <select id="selectBsFormulaChildInfoList" parameterType="BsFormulaChildInfo" resultMap="BsFormulaChildInfoResult"> @@ -89,7 +92,10 @@ <if test="spareField4 != null">spare_field4,</if> <if test="collectData != null">collect_data,</if> <if test="results != null">results,</if> - </trim> + <if test="ngCollectData != null">ng_collect_data,</if> + <if test="ngResults != null">ng_results,</if> + <if test="ngTimes != null">ng_times,</if> + </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="workshopCode != null">#{workshopCode},</if> <if test="lineCode != null">#{lineCode},</if> @@ -112,9 +118,12 @@ <if test="spareField2 != null">#{spareField2},</if> <if test="spareField3 != null">#{spareField3},</if> <if test="spareField4 != null">#{spareField4},</if> - <if test="collectData != null">collect_data,</if> - <if test="results != null">results,</if> - </trim> + <if test="collectData != null">#{collectData},</if> + <if test="results != null">#{results},</if> + <if test="ngCollectData != null">#{ngCollectData},</if> + <if test="ngResults != null">#{ngResults},</if> + <if test="ngTimes != null">#{ngTimes},</if> + </trim> </insert> <update id="updateBsFormulaChildInfo" parameterType="BsFormulaChildInfo"> @@ -143,6 +152,9 @@ <if test="spareField4 != null">spare_field4 = #{spareField4},</if> <if test="collectData != null">collect_data = #{collectData},</if> <if test="results != null">results = #{results},</if> + <if test="ngCollectData != null">ng_collect_data = #{ngCollectData},</if> + <if test="ngResults != null">ng_results = #{ngResults},</if> + <if test="ngTimes != null">ng_times = #{ngTimes},</if> </trim> where id = #{id} </update> -- Gitblit v1.9.3