ec来源更改保存
This commit is contained in:
@@ -19,9 +19,10 @@
|
||||
<result column="recommend_partner_id" jdbcType="VARCHAR" property="recommendPartnerId" />
|
||||
<result column="recommend_partner_name" jdbcType="VARCHAR" property="recommendPartnerName" />
|
||||
<result column="recommend_partner_mobile" jdbcType="VARCHAR" property="recommendPartnerMobile" />
|
||||
<result column="user_channel_id" jdbcType="VARCHAR" property="userChannelId" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_id, mobile, username, live_area, want_shop_area, accept_adjust_type,
|
||||
id, partner_id, mobile, username, live_area, want_shop_area, accept_adjust_type,user_channel_id,
|
||||
invite_code, is_write_partner_know, create_time, update_time, shop_code, shop_name, shop_id, recommend_partner_id, recommend_partner_name, recommend_partner_mobile
|
||||
</sql>
|
||||
<select id="selectByPartnerId" resultMap="BaseResultMap" >
|
||||
@@ -115,6 +116,9 @@
|
||||
<if test="record.recommendPartnerMobile != null">
|
||||
recommend_partner_mobile,
|
||||
</if>
|
||||
<if test="record.userChannelId != null">
|
||||
user_channel_id,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
@@ -165,6 +169,9 @@
|
||||
<if test="record.recommendPartnerMobile != null">
|
||||
#{record.recommendPartnerMobile},
|
||||
</if>
|
||||
<if test="record.userChannelId != null">
|
||||
#{record.userChannelId},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
|
||||
@@ -80,6 +80,6 @@ public class HyPartnerLineInfoDO implements Serializable {
|
||||
@ApiModelProperty("移除黑名单原因")
|
||||
private String removeBlackReason;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_channel.id")
|
||||
@ApiModelProperty("hy_partner_user_channel.channel_id")
|
||||
private Integer userChannelId;
|
||||
}
|
||||
@@ -70,4 +70,7 @@ public class HyPartnerUserInfoDO implements Serializable {
|
||||
|
||||
@ApiModelProperty("推荐加盟商手机号")
|
||||
private String recommendPartnerMobile;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_channel.channel_id")
|
||||
private Integer userChannelId;
|
||||
}
|
||||
@@ -122,7 +122,7 @@ public class EcSyncServiceImpl implements EcSyncService {
|
||||
}
|
||||
String newPartnerId = UUIDUtils.get32UUID();
|
||||
HyPartnerUserInfoDO resultUser = new HyPartnerUserInfoDO();
|
||||
resultUser.setUsername(customerInfoItem.getName()).setMobile(customerInfoItem.getMobile());
|
||||
resultUser.setUsername(customerInfoItem.getName()).setMobile(customerInfoItem.getMobile()).setUserChannelId(Convert.toInt(channelId));
|
||||
|
||||
HyPartnerLineInfoDO resultLine = new HyPartnerLineInfoDO();
|
||||
String followUserName = customerInfoItem.getFollowUserName();
|
||||
|
||||
Reference in New Issue
Block a user