|
@@ -33,36 +33,37 @@
|
|
|
</update>
|
|
|
<update id="updateClubUserByUpgrade">
|
|
|
update user set registerIP = #{registerIp},
|
|
|
- email = #{contractEmail},
|
|
|
+ email = #{email},
|
|
|
name = #{name},
|
|
|
clubStatus = #{clubStatus}
|
|
|
where userID = #{userId}
|
|
|
</update>
|
|
|
<update id="updateClubByUpgrade">
|
|
|
update club set userID = #{userId}, name = #{name}, sname = #{shortName}, contractEmail1 = #{contractEmail},
|
|
|
- <if test="contractPhone != null">
|
|
|
- contractPhone = #{contractPhone},
|
|
|
- </if>
|
|
|
- <if test="linkMan != null">
|
|
|
- linkMan = #{linkMan},
|
|
|
- </if>
|
|
|
- provinceID = #{provinceId}, cityID = #{cityId}, townID = #{townId}, address = #{address},
|
|
|
- <if test="shopPhoto != null and shopPhoto != 'null' and shopPhoto != ''">
|
|
|
- headpic = #{shopPhoto},
|
|
|
- </if>
|
|
|
- businessLicenseImage = #{businessLicense}, socialCreditCode = #{socialCreditCode}, firstClubType = #{firstClubType},
|
|
|
- <if test="firstClubType == 1">
|
|
|
- secondClubType = #{secondClubType}, department = #{department}, medicalPracticeLicenseImg = #{medicalPracticeLicense},
|
|
|
- </if>
|
|
|
- <if test="mainProduct != null">
|
|
|
- mainpro = #{mainProduct},
|
|
|
- </if>
|
|
|
- <if test="fax != null">
|
|
|
- fax = #{fax},
|
|
|
- </if>
|
|
|
- <if test="profile != null">
|
|
|
- info = #{profile},
|
|
|
- </if>
|
|
|
+ <if test="contractPhone != null">
|
|
|
+ contractPhone = #{contractPhone},
|
|
|
+ </if>
|
|
|
+ <if test="linkMan != null">
|
|
|
+ linkMan = #{linkMan},
|
|
|
+ </if>
|
|
|
+ provinceID = #{provinceId}, cityID = #{cityId}, townID = #{townId}, address = #{address},
|
|
|
+ <if test="shopPhoto != null and shopPhoto != 'null' and shopPhoto != ''">
|
|
|
+ headpic = #{shopPhoto},
|
|
|
+ </if>
|
|
|
+ businessLicenseImage = #{businessLicense}, socialCreditCode = #{socialCreditCode}, firstClubType = #{firstClubType},
|
|
|
+ <if test="firstClubType == 1">
|
|
|
+ secondClubType = #{secondClubType}, department = #{department}, medicalPracticeLicenseImg = #{medicalPracticeLicense},
|
|
|
+ </if>
|
|
|
+ <if test="mainProduct != null">
|
|
|
+ mainpro = #{mainProduct},
|
|
|
+ </if>
|
|
|
+ <if test="fax != null">
|
|
|
+ fax = #{fax},
|
|
|
+ </if>
|
|
|
+ <if test="profile != null">
|
|
|
+ info = #{profile},
|
|
|
+ </if>
|
|
|
+ status = #{status}
|
|
|
where clubID = #{clubId}
|
|
|
</update>
|
|
|
</mapper>
|