package com.yeshi.fanli.service.inter.user;
|
|
import com.yeshi.fanli.entity.bus.user.UserExtraTaoBaoInfo;
|
|
/**
|
* 用户淘宝联盟服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface UserExtraTaoBaoInfoService {
|
|
/**
|
* 添加渠道ID
|
*
|
* @param uid
|
* @param relationId
|
*/
|
public void addRelationId(Long uid, String relationId, String taoBaoUid, boolean valid);
|
|
/**
|
* 添加会员ID
|
*
|
* @param uid
|
* @param specialId
|
*/
|
public void addSpecialId(Long uid, String specialId, String taoBaoUid, boolean valid);
|
|
/**
|
* 通过UID获取淘宝联盟渠道信息
|
*
|
* @param uid
|
* @return
|
*/
|
public UserExtraTaoBaoInfo getByUid(Long uid);
|
|
/**
|
* 选择性更新
|
*
|
* @param ue
|
*/
|
public void updateSelective(UserExtraTaoBaoInfo ue);
|
|
/**
|
* 解绑用户
|
*
|
* @param uid
|
*/
|
public void unBindUid(Long uid);
|
|
/**
|
* 绑定淘宝后6位
|
*
|
* @param taoBaoUid
|
* @param orderId
|
*/
|
public void bindTaoBaoOrderEnd6Num(String taoBaoUid, String orderId);
|
|
/**
|
* 通过渠道ID查询用户(用户信息不为空)
|
* @param relationId
|
* @return
|
*/
|
public UserExtraTaoBaoInfo getByRelationId(String relationId);
|
|
/**
|
* 通过会员运营ID查询用户(用户信息不为空)
|
* @param specialId
|
* @return
|
*/
|
public UserExtraTaoBaoInfo getBySpecialId(String specialId);
|
}
|