From 16e2841d49fb761b966c0b55185014c6fe843b26 Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期二, 06 五月 2025 18:46:46 +0800 Subject: [PATCH] 生成钣金工单计划:钣金工单增加“未匹配的数量” --- aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml index 26dea4f..5bf67f2 100644 --- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml +++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml @@ -43,10 +43,18 @@ <result property="stdOp" column="std_op" /> <result property="opStatus" column="op_status" /> <result property="nextOpName" column="next_op_name" /> + <result property="unmatchedQuantity" column="unmatched_quantity" /> </resultMap> <sql id="selectApsPlatePlanVo"> - select id, master_planner, week_day, week_cycle, main_part_number, main_part_drawing_number, customer, business_type, document_number, requirement_type, document_status, item_number, drawing_no, version_number, production_quantity, good_products_quantity, process_number, work_center, department, plan_start_day, plan_end_day, standby_number, standby_name, standby_stock, next_process_deparment, is_suspended, is_outsourcing, account, advanced_materials, advanced_document_number, advanced_requirement_day, is_plan_complete, is_stock_complete, has_turnback, has_risk, std_op, op_status, next_op_name from aps_plate_plan + select id, master_planner, week_day, week_cycle, main_part_number, main_part_drawing_number, + customer, business_type, document_number, requirement_type, document_status, item_number, + drawing_no, version_number, production_quantity, good_products_quantity, process_number, + work_center, department, plan_start_day, plan_end_day, standby_number, standby_name, + standby_stock, next_process_deparment, is_suspended, is_outsourcing, account, advanced_materials, + advanced_document_number, advanced_requirement_day, is_plan_complete, is_stock_complete, + has_turnback, has_risk, std_op, op_status, next_op_name ,unmatched_quantity + from aps_plate_plan </sql> <select id="selectApsPlatePlanList" parameterType="ApsPlatePlan" resultMap="ApsPlatePlanResult"> @@ -140,6 +148,7 @@ <if test="stdOp != null">std_op,</if> <if test="opStatus != null">op_status,</if> <if test="nextOpName != null">next_op_name,</if> + <if test="unmatchedQuantity != null">unmatched_quantity,</if> create_time, </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> @@ -181,6 +190,7 @@ <if test="stdOp != null">#{stdOp},</if> <if test="opStatus != null">#{opStatus},</if> <if test="nextOpName != null">#{nextOpName},</if> + <if test="unmatchedQuantity != null">#{unmatchedQuantity},</if> #{createTime}, </trim> </insert> @@ -225,6 +235,7 @@ <if test="stdOp != null">std_op = #{stdOp},</if> <if test="opStatus != null"> op_status= #{opStatus},</if> <if test="nextOpName != null"> next_op_name= #{nextOpName},</if> + <if test="unmatchedQuantity != null"> unmatched_quantity = #{unmatchedQuantity},</if> </trim> where id = #{id} </update> -- Gitblit v1.9.3