|
|
@ -166,6 +166,7 @@
|
|
|
|
UPDATE basic_corp
|
|
|
|
UPDATE basic_corp
|
|
|
|
<trim prefix="set" suffixOverrides=",">
|
|
|
|
<trim prefix="set" suffixOverrides=",">
|
|
|
|
<if test="thirdId != null">thirdId=#{thirdId},</if>
|
|
|
|
<if test="thirdId != null">thirdId=#{thirdId},</if>
|
|
|
|
|
|
|
|
<if test="thirdId == ''">thirdId=null,</if>
|
|
|
|
<if test="erpId != null">erpId=#{erpId},</if>
|
|
|
|
<if test="erpId != null">erpId=#{erpId},</if>
|
|
|
|
<if test="name != null">`name`=#{name},</if>
|
|
|
|
<if test="name != null">`name`=#{name},</if>
|
|
|
|
<if test="spell != null">spell=#{spell},</if>
|
|
|
|
<if test="spell != null">spell=#{spell},</if>
|
|
|
@ -179,6 +180,10 @@
|
|
|
|
<if test="thirdId2 != null">thirdId2=#{thirdId2},</if>
|
|
|
|
<if test="thirdId2 != null">thirdId2=#{thirdId2},</if>
|
|
|
|
<if test="thirdId3 != null">thirdId3=#{thirdId3},</if>
|
|
|
|
<if test="thirdId3 != null">thirdId3=#{thirdId3},</if>
|
|
|
|
<if test="thirdId4 != null">thirdId4=#{thirdId4},</if>
|
|
|
|
<if test="thirdId4 != null">thirdId4=#{thirdId4},</if>
|
|
|
|
|
|
|
|
<if test="thirdId1 == ''">thirdId1=null,</if>
|
|
|
|
|
|
|
|
<if test="thirdId2 == ''">thirdId2=null,</if>
|
|
|
|
|
|
|
|
<if test="thirdId3 == ''">thirdId3=null,</if>
|
|
|
|
|
|
|
|
<if test="thirdId4 == ''">thirdId4=null,</if>
|
|
|
|
<if test="thirdName != null">thirdName=#{thirdName},</if>
|
|
|
|
<if test="thirdName != null">thirdName=#{thirdName},</if>
|
|
|
|
<if test="thirdName1 != null">thirdName1=#{thirdName1},</if>
|
|
|
|
<if test="thirdName1 != null">thirdName1=#{thirdName1},</if>
|
|
|
|
<if test="thirdName2 != null">thirdName2=#{thirdName2},</if>
|
|
|
|
<if test="thirdName2 != null">thirdName2=#{thirdName2},</if>
|
|
|
|