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
package com.yeshi.fanli.service.inter.msg;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.msg.MsgAccountDetail;
import com.yeshi.fanli.exception.msg.MsgAccountDetailException;
 
public interface MsgAccountDetailService {
 
    /**
     * 添加到账户消息
     * 
     * @param detail
     * @throws MsgAccountDetailException
     */
    public void addMsgAccountDetail(MsgAccountDetail detail) throws MsgAccountDetailException;
 
    /**
     * 账户消息列表
     * 
     * @param uid
     * @param page
     * @return
     */
    public List<MsgAccountDetail> listMsgAccountDetail(Long uid, int page);
 
    /**
     * 账户消息数
     * 
     * @param uid
     * @return
     */
    public long countMsgAccountDetail(Long uid);
    
    /**
     * 设置所有消息已读
     * 
     * @param uid
     */
    public void readMsgByUid(Long uid);
 
}