去除供应商类型多余代码
This commit is contained in:
@@ -25,12 +25,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</insert>
|
||||
|
||||
<!-- 同步源(TAB_SERVICE_INFO/CHANNEL)无开票类型、卡车行类型、额度、账期,
|
||||
更新时这些列一律不动,保留库内维护值;supplier_type/channel_ids 以源为准 -->
|
||||
更新时这些列一律不动。supplier_type 仅在解析到字典键值时回写,源为空或对不上字典时保留原值 -->
|
||||
<update id="updateSyncSupplierByCode" parameterType="com.bms.customer.supplierinfo.domain.BmsSupplier">
|
||||
UPDATE sup_supplier
|
||||
SET supplier_name = #{supplierName}
|
||||
, is_enable = #{isEnable}
|
||||
, supplier_type = #{supplierType}
|
||||
<if test="supplierType != null">, supplier_type = #{supplierType}</if>
|
||||
, channel_ids = #{channelIds}
|
||||
<if test="remark != null">, remark = #{remark}</if>
|
||||
, update_by = #{updateBy}
|
||||
|
||||
Reference in New Issue
Block a user