admin
2019-02-19 9192375a211cff2f91d1f65f932f97612d8dbcdb
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
package org.fanli.facade.system.service.msg;
 
import org.fanli.facade.system.entity.msg.UserMsgUnReadNum;
 
/**
 * 消息未读服务
 * 
 * @author Administrator
 *
 */
public interface UserMsgReadStateService {
 
    /**
     * 增加订单消息未读数
     * 
     * @param uid
     * @param count
     */
    public void addOrderMsgUnReadCount(Long uid, int count);
 
    /**
     * 增加账号消息未读数
     * 
     * @param uid
     * @param count
     */
    public void addAccountMsgUnReadCount(Long uid, int count);
 
    /**
     * 增加资金消息未读数
     * 
     * @param uid
     * @param count
     */
    public void addMoneyMsgUnReadCount(Long uid, int count);
 
    /**
     * 增加邀请消息未读数
     * 
     * @param uid
     * @param count
     */
    public void addInviteMsgUnReadCount(Long uid, int count);
 
    /**
     * 增加系统消息未读数
     * 
     * @param uid
     * @param count
     */
    public void addSystemMsgUnReadCount(Long uid, int count);
 
    /**
     * 获取用户所有未读消息数
     * 
     * @param uid
     * @return
     */
    public UserMsgUnReadNum getReadStateByUid(Long uid);
 
    /**
     * 设置所有消息已读
     * 
     * @param uid
     */
    public void setAllMsgRead(Long uid);
 
    /**
     * 读订单消息
     * 
     * @param uid
     */
    public void readOrderMsg(Long uid);
 
    /**
     * 读账号消息
     * 
     * @param uid
     */
    public void readAccountMsg(Long uid);
 
    /**
     * 读资金消息
     * 
     * @param uid
     */
    public void readMoneyMsg(Long uid);
 
    /**
     * 读邀请消息
     * 
     * @param uid
     */
    public void readInviteMsg(Long uid);
 
    /**
     * 读系统消息
     * 
     * @param uid
     */
    public void readUserSystemMsg(Long uid);
}