Administrator
2018-11-20 819aadbd94cbc159746b8c4c18aade8e52d438ff
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
package com.yeshi.fanli.service.inter.config;
 
import java.math.BigDecimal;
import java.util.List;
 
import com.yeshi.fanli.entity.admin.InviteGetMoney;
import com.yeshi.fanli.entity.bus.invite.SpreadImg;
 
public interface InviteGetMoneyService {
 
    Integer getCount();
 
    List<InviteGetMoney> inviteGetMoneyList(int i, String key);
 
    void deleteInviteGetMoney(long id);
 
    void updateInviteGetMoney(InviteGetMoney inviteGetMoney);
 
    InviteGetMoney getInviteGetMoney(long id);
 
    int myFirstTeamCount(String uid);
 
    int mySecondTeamCount(String uid);
 
    BigDecimal getMoneyToday(String uid);
 
    BigDecimal getMoneyMonth(String uid);
    
    /**
     * 上月预估(邀请赚+分享赚)
     * @param uid
     * @return
     */
    BigDecimal getMoneyLastMonth(String uid);
 
    Integer spreadImgCount();
 
    List<SpreadImg> spreadImgList(int i, String key);
 
    void deleteInviteFriendImg(long id);
 
    SpreadImg getInviteSpreadImg(long id);
 
    void updateInviteSpreadImg(SpreadImg spreadImg);
 
    void addInviteFriendImg(SpreadImg spreadImg, String url);
 
    void updateInviteRank(BigDecimal bigDecimalMoney);
 
    List<String> systemSpreadImgList();
 
    /**
     * 获取二维码分享图
     * 
     * @param uid
     * @return
     */
    List<SpreadImg> getSpreadImg(Long uid);
 
    /**
     * 
     * 方法说明: 获取活动规则
     * @author mawurui
     * createTime 2018年5月16日 下午3:34:27
     * @return
     */
    String getActivityRules(String key);
 
    /**
     * 
     * 方法说明: 根据指定key修改活动规则
     * @author mawurui
     * createTime 2018年5月16日 下午3:48:50
     * @param value
     * @param key
     */
    void editActivityRules(String value, String key);
 
    List<SpreadImg> listQuery(int start, int pageSize, String key);
 
    long countQuery(String key);
}