|
|
|
@@ -30,6 +30,7 @@ |
|
|
|
<result column="is_del" jdbcType="INTEGER" property="isDel"/> |
|
|
|
<result column="talk_user_main" jdbcType="VARCHAR" property="talkUserMain"/> |
|
|
|
<result column="talk_user_aux" jdbcType="VARCHAR" property="talkUserAux"/> |
|
|
|
<result column="link_line_phone" property="linkLinePhone"/> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
@@ -37,7 +38,7 @@ |
|
|
|
`id`,`tenant_id`,`img_url`,`name`,`link_phone`,`create_date`,`update_date`,`car_vendor_type`,`car_params`,`status`,`link_person`, |
|
|
|
`business_id`,`sub_business_id`,`shop_type`,`brand`,`type`,`is_public`,email,`title`,`cover_picture`,`is_admin`,`bill_setting`,`qr_code`, |
|
|
|
`introduction`,`action_desc`,`is_del`, |
|
|
|
`talk_user_main`,`talk_user_aux` |
|
|
|
`talk_user_main`,`talk_user_aux`,link_line_phone |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -135,7 +136,7 @@ |
|
|
|
<sql id="allMerchantVoColumns"> |
|
|
|
m.id,m.img_url,m.name,m.link_phone,m.status,m.business_id, |
|
|
|
m.is_public,m.email,m.title,m.cover_picture,m.sub_business_id, |
|
|
|
m.shop_type,m.introduction,m.action_desc,bu.title as business_name |
|
|
|
m.shop_type,m.introduction,m.action_desc,bu.title as business_name,m.link_line_phone |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="getMerchantByCode" parameterType="java.util.Map" resultMap="MerchantVoResultMap"> |
|
|
|
@@ -178,7 +179,8 @@ |
|
|
|
|
|
|
|
<result column="introduction" jdbcType="VARCHAR" property="introduction"/> |
|
|
|
<result column="action_desc" jdbcType="VARCHAR" property="actionDesc"/> |
|
|
|
|
|
|
|
<result column="link_line_phone" property="linkLinePhone"/> |
|
|
|
|
|
|
|
<collection column="{merchantId=id}" property="shopVoList" |
|
|
|
ofType="com.iformall.domain.vo.WxShopVo" |
|
|
|
javaType="java.util.List" |
|
|
|
|