|
@@ -17,73 +17,64 @@
|
|
|
<update id="updateShopByUpdateInfo">
|
|
|
update shop
|
|
|
<set>
|
|
|
- <if test="shortName != null">
|
|
|
+ <if test="shortName != null and shortName != ''">
|
|
|
sname = #{shortName},
|
|
|
</if>
|
|
|
- <if test="email != null">
|
|
|
+ <if test="email != null and email != ''">
|
|
|
contractEmail1 = #{email},
|
|
|
</if>
|
|
|
- <if test="contractPhone != null">
|
|
|
+ <if test="contractPhone != null and contractPhone != ''">
|
|
|
contractPhone = #{contractPhone},
|
|
|
</if>
|
|
|
- <if test="linkMan != null">
|
|
|
+ <if test="linkMan != null and linkMan != ''">
|
|
|
linkMan = #{linkMan},
|
|
|
</if>
|
|
|
- <if test="provinceId != null">
|
|
|
- provinceID = #{provinceId},
|
|
|
+ <if test="townId != null and townId != ''">
|
|
|
+ provinceID = #{provinceId}, cityID = #{cityId}, townID = #{townId},address = #{address},
|
|
|
</if>
|
|
|
- <if test="cityId != null">
|
|
|
- cityID = #{cityId},
|
|
|
- </if>
|
|
|
- <if test="townId != null">
|
|
|
- townID = #{townId},
|
|
|
- </if>
|
|
|
- <if test="address != null">
|
|
|
- address = #{address},
|
|
|
- </if>
|
|
|
- <if test="socialCreditCode != null">
|
|
|
+ <if test="socialCreditCode != null and socialCreditCode != ''">
|
|
|
socialCreditCode = #{socialCreditCode},
|
|
|
</if>
|
|
|
- <if test="businessLicense != null">
|
|
|
+ <if test="businessLicense != null and businessLicense != ''">
|
|
|
businessLicenseImage = #{businessLicense},
|
|
|
</if>
|
|
|
- <if test="firstShopType != null">
|
|
|
+ <if test="firstShopType != null and firstShopType != ''">
|
|
|
firstShopType = #{firstShopType},
|
|
|
</if>
|
|
|
- <if test="secondShopType != null">
|
|
|
+ <if test="secondShopType != null and secondShopType != ''">
|
|
|
secondShopType = #{secondShopType},
|
|
|
</if>
|
|
|
- <if test="mainProduct != null">
|
|
|
+ <if test="mainProduct != null and mainProduct != ''">
|
|
|
mainpro = #{mainProduct},
|
|
|
</if>
|
|
|
- <if test="mainProductDesc != null">
|
|
|
+ <if test="mainProductDesc != null and mainProductDesc != ''">
|
|
|
productDesc = #{mainProductDesc},
|
|
|
</if>
|
|
|
- <if test="legalPerson != null">
|
|
|
+ <if test="legalPerson != null and legalPerson != ''">
|
|
|
legalPerson = #{legalPerson},
|
|
|
</if>
|
|
|
- <if test="registeredCapital != null">
|
|
|
+ <if test="registeredCapital != null and registeredCapital != ''">
|
|
|
registeredCapital = #{registeredCapital},
|
|
|
</if>
|
|
|
- <if test="faxNumber != null">
|
|
|
+ <if test="faxNumber != null and faxNumber != ''">
|
|
|
fax = #{faxNumber},
|
|
|
</if>
|
|
|
- <if test="companyNature != null">
|
|
|
+ <if test="companyNature != null and companyNature != ''">
|
|
|
nature = #{companyNature},
|
|
|
</if>
|
|
|
- <if test="turnover != null">
|
|
|
+ <if test="turnover != null and turnover != ''">
|
|
|
turnover = #{turnover},
|
|
|
</if>
|
|
|
- <if test="medicalPracticeLicense != null">
|
|
|
+ <if test="medicalPracticeLicense != null and medicalPracticeLicense != ''">
|
|
|
medicalPracticeLicenseImg1 = #{medicalPracticeLicense},
|
|
|
</if>
|
|
|
- <if test="shopDesc != null">
|
|
|
+ <if test="shopDesc != null and shopDesc != ''">
|
|
|
info = #{shopDesc},
|
|
|
</if>
|
|
|
- <if test="businessScope != null">
|
|
|
+ <if test="businessScope != null and businessScope != ''">
|
|
|
businessScope = #{businessScope},
|
|
|
</if>
|
|
|
- <if test="logo != null">
|
|
|
+ <if test="logo != null and logo != ''">
|
|
|
logo = #{logo},
|
|
|
</if>
|
|
|
name = #{name}
|