yujian
2020-05-13 45afc31d47abebfb4f1f9fc8a420048e4870bf40
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package com.yeshi.fanli.service.inter.user.invite;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
import com.yeshi.fanli.dto.user.ThreeSaleFocusDTO;
import com.yeshi.fanli.entity.bus.user.TeamFansInfo;
 
public interface TeamFansInfoService {
 
    /**
     * 查询
     * @param start
     * @param count
     * @param type
     * @param uid
     * @param focusDTO
     * @return
     */
    public List<TeamFansInfo> query(int start, int count, int type, Long uid, ThreeSaleFocusDTO focusDTO);
 
    public long count(int type, Long uid, ThreeSaleFocusDTO focusDTO);
 
    /**
     * 根据下级id查询
     * @param workerId
     * @return
     */
    public TeamFansInfo getbyWorkerId(Long workerId);
 
    /**
     * 添加
     * @param record
     */
    public void save(TeamFansInfo record);
 
    /**
     * 更新粉丝数量
     * @param workerId
     */
    public void updateFansNum(Long workerId);
 
    /**
     * 更新标签
     * @param workerId
     * @param type
     * @param tags
     */
    public void updateTags(Long workerId, int type, String tags);
 
    /**
     * 更新粉丝备注名
     * @param workerId
     * @param type
     * @param memoName
     */
    public void updateMemoName(Long workerId, int type, String memoName);
 
    /**
     * 更新昵称
     * @param workerId
     * @param nickName
     */
    public void updateNickName(Long workerId, String nickName);
 
    /**
     * 更新有效状态
     * @param workerId
     * @param stateValid
     */
    public void updateStateValid(Long workerId, boolean stateValid);
 
    /**
     * 更新淘宝绑定
     * @param workerId
     * @param taobaoBind
     */
    public void updateTaobaoBind(Long workerId, boolean taobaoBind);
 
    /**
     * 更新微信绑定
     * @param workerId
     * @param weixinBind
     */
    public void updateWeixinBind(Long workerId, boolean weixinBind);
 
    /**
     * 更新活跃时间
     * @param workerId
     * @param activeTime
     */
    public void updateActiveTime(Long workerId, Date activeTime);
 
    /**
     * 更新60天收入
     * @param workerId
     * @param income
     */
    public void updateIncome(Long workerId, BigDecimal income);
 
    /**
     * 更新微信号
     * @param workerId
     * @param weixinId
     */
    public void updateWeixinId(Long workerId, String weixinId);
 
    /**
     * 更新邀请码
     * 
     * @param workerId
     * @param inviteCode
     */
    public void updateInviteCode(Long workerId, String inviteCode);
 
    /**
     * 更新电话号
     * @param workerId
     * @param phone
     */
    public void updatePhone(Long workerId, String phone);
 
    /**
     * 更新手机号公开
     * @param workerId
     * @param phoneOpen
     */
    public void updatePhoneOpen(Long workerId, boolean phoneOpen);
 
}