|
@@ -10,7 +10,7 @@
|
|
|
values(#{name},#{shortName},#{contractMobile},#{linkMan},#{userId},#{addTime},#{status},#{serviceProviderId},#{scanFlag})
|
|
|
</insert>
|
|
|
<insert id="insertUpgradeClub" parameterType="com.caimei365.user.model.po.ClubPo" keyProperty="clubId" useGeneratedKeys="true">
|
|
|
- insert into club(`name`, `sname`, `contractMobile`, `userID`, `addTime`, `status`, `spID`, `scanFlag`,`contractEmail1`,`linkMan`, `provinceID`, `cityID`,`townID`, `address`, `headpic`, `businessLicenseImage`,`socialCreditCode`,`firstClubType`,`secondClubType`,`department`,`medicalPracticeLicenseImg`,`mainpro`)
|
|
|
+ insert into club(`name`, `sname`, `contractMobile`, `userID`, `addTime`, `status`, `spID`, `scanFlag`,`contractEmail`,`linkMan`, `provinceID`, `cityID`,`townID`, `address`, `headpic`, `businessLicenseImage`,`socialCreditCode`,`firstClubType`,`secondClubType`,`department`,`medicalPracticeLicenseImg`,`mainpro`)
|
|
|
values(#{name},#{shortName},#{contractMobile},#{userId},#{addTime},#{status},#{serviceProviderId},#{scanFlag},#{contractEmail},#{linkMan},#{provinceId},#{cityId},#{townId},#{address},#{shopPhoto},#{businessLicense},#{socialCreditCode},#{firstClubType},#{secondClubType},#{department},#{medicalPracticeLicense},#{mainProduct})
|
|
|
</insert>
|
|
|
<insert id="insertOperation" parameterType="com.caimei365.user.model.po.OperationPo" keyProperty="id" useGeneratedKeys="true">
|
|
@@ -22,7 +22,7 @@
|
|
|
values(#{organizeId},#{registerTime},#{registerIp},#{source},#{registerUserTypeId},#{name},#{userName},#{bindMobile},#{email},#{userIdentity},#{userPermission},#{manufacturerStatus},#{password},#{agreeFlag},#{validFlag})
|
|
|
</insert>
|
|
|
<insert id="insertShop" parameterType="com.caimei365.user.model.po.ShopPo" keyProperty="shopId" useGeneratedKeys="true">
|
|
|
- insert into shop(`userID`, `name`, `sname`, `linkMan`, `contractMobile`, `contractEmail1`, `provinceID`, `cityID`, `townID`, `address`, `socialCreditCode`, `businessLicenseImage`, `firstShopType`, `secondShopType`, `mainpro`, `productDesc`, `info`, `website`, `wxOfficialAccount`, `wxApplets`, `addTime`, `validFlag`, `status`,medicalPracticeLicenseImg1)
|
|
|
+ insert into shop(`userID`, `name`, `sname`, `linkMan`, `contractMobile`, `contractEmail`, `provinceID`, `cityID`, `townID`, `address`, `socialCreditCode`, `businessLicenseImage`, `firstShopType`, `secondShopType`, `mainpro`, `productDesc`, `info`, `website`, `wxOfficialAccount`, `wxApplets`, `addTime`, `validFlag`, `status`,medicalPracticeLicenseImg1)
|
|
|
values(#{userId},#{name},#{shortName},#{linkMan},#{contractMobile},#{contractEmail},#{provinceId},#{cityId},#{townId},#{address},#{socialCreditCode},#{businessLicense},#{firstShopType},#{secondShopType},#{mainProduct},#{mainProductDesc},#{shopDesc},#{website},#{wxOfficialAccount},#{wxApplets},#{addTime},#{validFlag},#{status},#{medicalPracticeLicenseImg1})
|
|
|
</insert>
|
|
|
<update id="updateUserClubId">
|
|
@@ -46,7 +46,7 @@
|
|
|
where userID = #{userId}
|
|
|
</update>
|
|
|
<update id="updateClubByUpgrade">
|
|
|
- update club set userID = #{userId}, name = #{name}, sname = #{shortName}, contractEmail1 = #{contractEmail},
|
|
|
+ update club set userID = #{userId}, name = #{name}, sname = #{shortName}, contractEmail = #{contractEmail},
|
|
|
<if test="contractPhone != null and contractPhone != ''">
|
|
|
contractPhone = #{contractPhone},
|
|
|
</if>
|
|
@@ -79,7 +79,7 @@
|
|
|
sname = #{shortName},
|
|
|
</if>
|
|
|
<if test="email != null and email != ''">
|
|
|
- contractEmail1 = #{email},
|
|
|
+ contractEmail = #{email},
|
|
|
</if>
|
|
|
<if test="linkMan != null and linkMan != ''">
|
|
|
linkMan = #{linkMan},
|
|
@@ -215,7 +215,7 @@
|
|
|
contractPhone = #{contractPhone},
|
|
|
contractMobile = #{contractMobile},
|
|
|
fax = #{fax},
|
|
|
- contractEmail1 = #{contractEmail},
|
|
|
+ contractEmail = #{contractEmail},
|
|
|
info = #{profile},
|
|
|
addTime = #{addTime},
|
|
|
status = #{status},
|