|
|
@@ -350,20 +350,29 @@
|
|
|
</update>
|
|
|
<update id="updateCustomerOrganizationByCid">
|
|
|
update customer_organization_info
|
|
|
- <set>
|
|
|
+ <set>
|
|
|
<if test="companyName != null">
|
|
|
company_name = #{companyName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="locationProvince != null">
|
|
|
location_province = #{locationProvince,jdbcType=CHAR},
|
|
|
</if>
|
|
|
+ <if test="locationCity != null">
|
|
|
+ location_city = #{locationCity,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="locationArea != null">
|
|
|
+ location_area = #{locationArea,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="adress != null">
|
|
|
adress = #{adress,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="companyIndustry != null">
|
|
|
company_industry = #{companyIndustry,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- </set>
|
|
|
+ <if test="remarks != null">
|
|
|
+ remarks = #{remarks,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
where cid = #{cid,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|