| | |
| | | @Excel(name = "下一工序名称") |
| | | private String nextOpName; |
| | | |
| | | /** 未匹配的生产数量*/ |
| | | private BigDecimal unmatchedQuantity; |
| | | |
| | | public String getOpStatus() { |
| | | return opStatus; |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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=","> |
| | |
| | | <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> |
| | |
| | | <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> |