package com.yeshi.fanli.dao.mybatis.user;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.dao.BaseMapper;
|
import com.yeshi.fanli.entity.bus.user.UserExtraTaoBaoInfo;
|
|
public interface UserExtraTaoBaoInfoMapper extends BaseMapper<UserExtraTaoBaoInfo> {
|
|
/**
|
* 根据用户ID查询对象
|
*
|
* @param uid
|
* @return
|
*/
|
UserExtraTaoBaoInfo selectByUid(Long uid);
|
|
/**
|
* 根据淘宝UID查询
|
*
|
* @param taoBaoUid
|
* @return
|
*/
|
UserExtraTaoBaoInfo selectByTaoBaoUid(String taoBaoUid);
|
|
/**
|
* 清除用户ID
|
*
|
* @param uid
|
* @return
|
*/
|
int clearUid(Long uid);
|
|
/**
|
* 通过渠道ID查询
|
*
|
* @param relationId
|
* @return
|
*/
|
UserExtraTaoBaoInfo selectByRelationIdWithUidNotNull(String relationId);
|
|
/**
|
* 通过会员运营ID查询
|
*
|
* @param specialId
|
* @return
|
*/
|
UserExtraTaoBaoInfo selectBySpecialIdWithUidNotNull(String specialId);
|
|
/**
|
* 统计正在使用的该淘宝的用户
|
*/
|
List<UserExtraTaoBaoInfo> listByTaoBaoUid(String taoBaoUid);
|
|
}
|