|
@@ -22,8 +22,8 @@
|
|
values(#{organizeId},#{registerTime},#{registerIp},#{source},#{registerUserTypeId},#{name},#{userName},#{bindMobile},#{email},#{userIdentity},#{userPermission},#{manufacturerStatus},#{password},#{agreeFlag},#{validFlag})
|
|
values(#{organizeId},#{registerTime},#{registerIp},#{source},#{registerUserTypeId},#{name},#{userName},#{bindMobile},#{email},#{userIdentity},#{userPermission},#{manufacturerStatus},#{password},#{agreeFlag},#{validFlag})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertShop" parameterType="com.caimei365.user.model.po.ShopPo" keyProperty="shopId" useGeneratedKeys="true">
|
|
<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`, `addTime`, `validFlag`, `status`)
|
|
|
|
- values(#{userId},#{name},#{shortName},#{linkMan},#{contractMobile},#{contractEmail},#{provinceId},#{cityId},#{townId},#{address},#{socialCreditCode},#{businessLicense},#{firstShopType},#{secondShopType},#{mainProduct},#{addTime},#{validFlag},#{status})
|
|
|
|
|
|
+ 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`)
|
|
|
|
+ values(#{userId},#{name},#{shortName},#{linkMan},#{contractMobile},#{contractEmail},#{provinceId},#{cityId},#{townId},#{address},#{socialCreditCode},#{businessLicense},#{firstShopType},#{secondShopType},#{mainProduct},#{mainProductDesc},#{shopDesc},#{website},#{wxOfficialAccount},#{wxApplets},#{addTime},#{validFlag},#{status})
|
|
</insert>
|
|
</insert>
|
|
<update id="updateUserClubId">
|
|
<update id="updateUserClubId">
|
|
update user set clubID = #{clubId} where userID = #{userId}
|
|
update user set clubID = #{clubId} where userID = #{userId}
|
|
@@ -102,6 +102,11 @@
|
|
<if test="mainProduct != null and mainProduct != ''">
|
|
<if test="mainProduct != null and mainProduct != ''">
|
|
mainpro = #{mainProduct},
|
|
mainpro = #{mainProduct},
|
|
</if>
|
|
</if>
|
|
|
|
+ productDesc = #{mainProductDesc},
|
|
|
|
+ info = #{shopDesc},
|
|
|
|
+ website = #{website},
|
|
|
|
+ wxOfficialAccount = #{wxOfficialAccount},
|
|
|
|
+ wxApplets = #{wxApplets},
|
|
status = #{status}
|
|
status = #{status}
|
|
where shopID = #{shopId}
|
|
where shopID = #{shopId}
|
|
</update>
|
|
</update>
|