admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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);
    
    
 
}