优化导入逻辑
This commit is contained in:
@@ -258,11 +258,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!-- Null means keep existing value (import empty freight/registration skips overwrite). -->
|
||||
<update id="updateDetailPrices">
|
||||
update prc_price_set_detail
|
||||
set fv_value = #{fvValue},
|
||||
fv_registration_fee = #{fvRegistrationFee},
|
||||
<set>
|
||||
<if test="fvValue != null">fv_value = #{fvValue},</if>
|
||||
<if test="fvRegistrationFee != null">fv_registration_fee = #{fvRegistrationFee},</if>
|
||||
update_time = sysdate()
|
||||
</set>
|
||||
where psd_id = #{psdId}
|
||||
</update>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user