|
@@ -7,8 +7,8 @@
|
|
|
values (#{name}, #{cmShopId}, #{prefix}, #{mobile}, #{password}, #{linkMan}, #{userIdentity}, #{shopType}, #{logo}, #{qrCodeImage}, #{wxAccountType}, #{appId}, #{appSecret}, #{createTime}, #{createBy}, #{status});
|
|
|
</insert>
|
|
|
<insert id="insertShopInfo">
|
|
|
- insert into cm_brand_auth_shop_info (authUserId, brandName, brandLogo, producePlace, manufacturer)
|
|
|
- values (#{authUserId}, #{brandName}, #{brandLogo}, #{producePlace}, #{manufacturer})
|
|
|
+ insert into cm_brand_auth_shop_info (authUserId, brandName, brandLogo, producePlace,producePlaceType,manufacturerType, manufacturer)
|
|
|
+ values (#{authUserId}, #{brandName}, #{brandLogo}, #{producePlace}, #{producePlaceType}, #{manufacturerType}, #{manufacturer})
|
|
|
</insert>
|
|
|
<update id="updateShopStatusByUserId">
|
|
|
update cm_brand_auth_user
|
|
@@ -36,7 +36,9 @@
|
|
|
set brandName = #{brandName},
|
|
|
brandLogo = #{brandLogo},
|
|
|
producePlace = #{producePlace},
|
|
|
- manufacturer = #{manufacturer}
|
|
|
+ manufacturer = #{manufacturer},
|
|
|
+ manufacturerType = #{manufacturerType},
|
|
|
+ producePlaceType = #{producePlaceType}
|
|
|
where id = #{infoId}
|
|
|
</update>
|
|
|
<update id="handleFeedback">
|
|
@@ -205,7 +207,7 @@
|
|
|
where authUserId = #{authUserId}
|
|
|
</select>
|
|
|
<select id="getShopInfoByUserId" resultType="com.caimei.model.vo.ShopInfoVo">
|
|
|
- select i.id as infoId, i.brandName,i.brandLogo,i.producePlace,i.manufacturer
|
|
|
+ select i.id as infoId, i.brandName,i.brandLogo,i.producePlace,i.manufacturer,i.producePlaceType,i.manufacturerType
|
|
|
from cm_brand_auth_shop_info i
|
|
|
where i.authUserId = #{authUserId}
|
|
|
</select>
|