|
|
|
@ -53,7 +53,7 @@
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectBaseProductVo">
|
|
|
|
<sql id="selectBaseProductVo">
|
|
|
|
select product_id, product_code, product_desc_zh, product_model,product_desc_en, rule_code, old_product_code, parts_product_code, sku_barcode, length, width, height, gross_weight, net_weight, tare_weight, volume,meins, unit_price, product_group, product_group_name, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, create_by, create_time, update_by, update_time, factory_code, active_flag, sync_flag, primary_uom, del_flag, bstme, basic_order, conv_order, ausme, basic_issue, conv_issue, append_flag, append_percent from base_product
|
|
|
|
select product_id, product_code, product_desc_zh, product_model,product_desc_en, rule_code, old_product_code, parts_product_code, sku_barcode, length, width, height, gross_weight, net_weight, tare_weight, volume,meins, unit_price, product_group, product_group_name, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, create_by, create_time, update_by, update_time, factory_code, active_flag, sync_flag, primary_uom, del_flag, bstme, basic_order, conv_order, ausme, basic_issue, conv_issue, append_flag, append_percent, mvgr5 inspectionStandard from base_product
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectSBaseProductList" parameterType="com.op.system.api.domain.sap.SapBaseProduct"
|
|
|
|
<select id="selectSBaseProductList" parameterType="com.op.system.api.domain.sap.SapBaseProduct"
|
|
|
|
@ -161,6 +161,7 @@
|
|
|
|
<if test="convIssue != null">conv_issue,</if>
|
|
|
|
<if test="convIssue != null">conv_issue,</if>
|
|
|
|
<if test="appendFlag != null">append_flag,</if>
|
|
|
|
<if test="appendFlag != null">append_flag,</if>
|
|
|
|
<if test="appendPercent != null">append_percent,</if>
|
|
|
|
<if test="appendPercent != null">append_percent,</if>
|
|
|
|
|
|
|
|
<if test="inspectionStandard != null">mvgr5,</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="productId != null">#{productId},</if>
|
|
|
|
<if test="productId != null">#{productId},</if>
|
|
|
|
@ -208,6 +209,7 @@
|
|
|
|
<if test="convIssue != null">#{convIssue},</if>
|
|
|
|
<if test="convIssue != null">#{convIssue},</if>
|
|
|
|
<if test="appendFlag != null">#{appendFlag},</if>
|
|
|
|
<if test="appendFlag != null">#{appendFlag},</if>
|
|
|
|
<if test="appendPercent != null">#{appendPercent},</if>
|
|
|
|
<if test="appendPercent != null">#{appendPercent},</if>
|
|
|
|
|
|
|
|
<if test="inspectionStandard != null">#{inspectionStandard},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
@ -258,6 +260,7 @@
|
|
|
|
<if test="convIssue != null">conv_issue = #{convIssue},</if>
|
|
|
|
<if test="convIssue != null">conv_issue = #{convIssue},</if>
|
|
|
|
<if test="appendFlag != null">append_flag = #{appendFlag},</if>
|
|
|
|
<if test="appendFlag != null">append_flag = #{appendFlag},</if>
|
|
|
|
<if test="appendPercent != null">append_percent = #{appendPercent},</if>
|
|
|
|
<if test="appendPercent != null">append_percent = #{appendPercent},</if>
|
|
|
|
|
|
|
|
<if test="inspectionStandard != null">mvgr5 = #{inspectionStandard},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where product_id = #{productId}
|
|
|
|
where product_id = #{productId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|