admin
2019-04-16 c987318c7cf02e51fe6c9c98e75bfcc47058841b
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
package com.yeshi.fanli.service.inter.msg;
 
import com.yeshi.fanli.entity.bus.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
     * @param count
     */
    public void addOtherMsgUnReadCount(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);
    
    /**
     * 读其他消息
     * @param uid
     */
    public void readOtherMsg(Long uid);
}