From e4c3b0f2afc59f7d7037b196d9f90266e2255608 Mon Sep 17 00:00:00 2001 From: yyt <306727702@qq.com> Date: 星期六, 13 一月 2024 09:45:45 +0800 Subject: [PATCH] 新增OPC --- jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml b/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml index 5aee192..1345685 100644 --- a/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml +++ b/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml @@ -43,10 +43,11 @@ <result property="spareField2" column="spare_field_2" /> <result property="spareField3" column="spare_field_3" /> <result property="spareField4" column="spare_field_4" /> + <result property="typeZ" column="type_z" /> </resultMap> <sql id="selectOmProductionOrdeInfoVo"> - select id, work_order_no, sales_order_code, product_code, product_name, workshop_code, line_code, route_code, bom_code, recipe_code, plan_qty, actual_qty, bad_qty, scrap_qty, repair_qty, actual_online_qty, online_completion_mark, demand_date, plan_start_time, plan_end_time, actual_start_time, actual_end_time, serial_number, order_status, create_time, update_time, create_user, update_user, remarks, stream_number, custom, market_area_code, software_version_code, product_company_code, spare_field_1, spare_field_2, spare_field_3, spare_field_4 from om_production_orde_info + select id, work_order_no, sales_order_code,type_z, product_code, product_name, workshop_code, line_code, route_code, bom_code, recipe_code, plan_qty, actual_qty, bad_qty, scrap_qty, repair_qty, actual_online_qty, online_completion_mark, demand_date, plan_start_time, plan_end_time, actual_start_time, actual_end_time, serial_number, order_status, create_time, update_time, create_user, update_user, remarks, stream_number, custom, market_area_code, software_version_code, product_company_code, spare_field_1, spare_field_2, spare_field_3, spare_field_4 from om_production_orde_info </sql> <select id="selectOmProductionOrdeInfoList" parameterType="OmProductionOrdeInfo" resultMap="OmProductionOrdeInfoResult"> @@ -65,6 +66,7 @@ <if test="orderStatus != null and orderStatus != ''"> and order_status = #{orderStatus}</if> <if test="custom != null and custom != ''"> and custom like concat('%', #{custom}, '%')</if> <if test="marketAreaCode != null and marketAreaCode != ''"> and market_area_code like concat('%', #{marketAreaCode}, '%')</if> + <if test="typeZ != null and typeZ != ''"> and type_z like concat('%', #{typeZ}, '%')</if> <if test="softwareVersionCode != null and softwareVersionCode != ''"> and software_version_code like concat('%', #{softwareVersionCode}, '%')</if> <if test="productCompanyCode != null and productCompanyCode != ''"> and product_company_code like concat('%', #{productCompanyCode}, '%')</if> </where> @@ -81,6 +83,7 @@ <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null">id,</if> <if test="workOrderNo != null">work_order_no,</if> + <if test="typeZ != null">type_z,</if> <if test="salesOrderCode != null">sales_order_code,</if> <if test="productCode != null">product_code,</if> <if test="productName != null">product_name,</if> @@ -121,6 +124,7 @@ <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id},</if> <if test="workOrderNo != null">#{workOrderNo},</if> + <if test="typeZ != null">#{typeZ},</if> <if test="salesOrderCode != null">#{salesOrderCode},</if> <if test="productCode != null">#{productCode},</if> <if test="productName != null">#{productName},</if> @@ -166,6 +170,7 @@ <if test="workOrderNo != null">work_order_no = #{workOrderNo},</if> <if test="salesOrderCode != null">sales_order_code = #{salesOrderCode},</if> <if test="productCode != null">product_code = #{productCode},</if> + <if test="typeZ != null">type_z = #{typeZ},</if> <if test="productName != null">product_name = #{productName},</if> <if test="workshopCode != null">workshop_code = #{workshopCode},</if> <if test="lineCode != null">line_code = #{lineCode},</if> -- Gitblit v1.9.3