| | |
| | | <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"> |
| | |
| | | <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> |
| | |
| | | <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"> |
| | |
| | | <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> |