2024-04-07 基础信息模块-产品-加报工汇率

master
A0010407 10 months ago
parent ac99dea002
commit 4a3367df37

@ -64,10 +64,11 @@
<result property="pvc" column="pvc"/> <result property="pvc" column="pvc"/>
<result property="supportPlate" column="support_plate"/> <result property="supportPlate" column="support_plate"/>
<result property="other" column="other"/> <result property="other" column="other"/>
<result property="reportRate" column="report_rate"/>
</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, 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,mtart 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, 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, mtart, report_rate from base_product
</sql> </sql>
<select id="selectBaseProductList" parameterType="BaseProduct" resultMap="BaseProductResult"> <select id="selectBaseProductList" parameterType="BaseProduct" resultMap="BaseProductResult">
@ -110,6 +111,7 @@
<if test="appendFlag != null and appendFlag != ''">and append_flag = #{appendFlag}</if> <if test="appendFlag != null and appendFlag != ''">and append_flag = #{appendFlag}</if>
<if test="appendPercent != null and appendPercent != ''">and append_percent = #{appendPercent}</if> <if test="appendPercent != null and appendPercent != ''">and append_percent = #{appendPercent}</if>
<if test="mtart != null and mtart != ''">and mtart = #{mtart}</if> <if test="mtart != null and mtart != ''">and mtart = #{mtart}</if>
<if test="reportRate != null and reportRate != ''">and report_rate = #{reportRate}</if>
and del_flag = '0' and del_flag = '0'
</where> </where>
order by product_code asc order by product_code asc
@ -160,6 +162,7 @@
bp.append_flag, bp.append_flag,
bp.append_percent, bp.append_percent,
bp.mtart, bp.mtart,
bp.report_rate,
bpa.category, bpa.category,
bpa.pc, bpa.pc,
bpa.iei, bpa.iei,
@ -229,6 +232,7 @@
<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="mtart != null">mtart,</if> <if test="mtart != null">mtart,</if>
<if test="reportRate != null">report_rate,</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>
@ -274,6 +278,7 @@
<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="mtart != null">#{mtart},</if> <if test="mtart != null">#{mtart},</if>
<if test="reportRate != null">#{reportRate},</if>
</trim> </trim>
</insert> </insert>
@ -321,6 +326,7 @@
<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="mtart != null and mtart != ''">mtart = #{mtart},</if> <if test="mtart != null and mtart != ''">mtart = #{mtart},</if>
<if test="reportRate != null and reportRate != ''">report_rate = #{reportRate},</if>
</trim> </trim>
where product_id = #{productId} where product_id = #{productId}
</update> </update>
@ -398,6 +404,7 @@
bp.append_flag, bp.append_flag,
bp.append_percent, bp.append_percent,
bp.mtart, bp.mtart,
bp.report_rate,
bpa.category, bpa.category,
bpa.pc, bpa.pc,
bpa.iei, bpa.iei,

Loading…
Cancel
Save