admin
2020-05-12 522315ae42936583042fc08aabda7e3c9e7a7b5d
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
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);
 
    public void updateMemoName(Long workerId, int type, String memoName);
 
    public void updateTags(Long workerId, int type, String tags);
 
    public void updateNickName(Long workerId, String nickName);
 
    public void updateStateValid(Long workerId, boolean stateValid);
 
    public void updateTaobaoBind(Long workerId, boolean taobaoBind);
 
    public void updateWeixinBind(Long workerId, boolean weixinBind);
 
    public void updateActiveTime(Long workerId, Date activeTime);
 
    public void updateFansNum(Long workerId);
 
    public void updateIncome(Long workerId, BigDecimal income);
 
    /**
     * 添加
     * @param record
     */
    public void save(TeamFansInfo record);
 
}