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
package com.yeshi.fanli.service.inter.msg;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.msg.MsgOtherDetail;
import com.yeshi.fanli.exception.msg.MsgOtherDetailException;
 
public interface MsgOtherDetailService {
    /**
     * 添加到其他消息
     * 
     * @param detail
     * @throws MsgOtherDetailException
     */
    public void addMsgOtherDetail(MsgOtherDetail detail) throws MsgOtherDetailException;
 
    /**
     * 更新数据
     * 
     * @param detail
     * @throws MsgOtherDetailException
     */
    public void updateMsgOtherDetail(MsgOtherDetail detail) throws MsgOtherDetailException;
 
    /**
     * 其他消息列表
     * 
     * @param uid
     * @param page
     * @return
     */
    public List<MsgOtherDetail> listMsgOtherDetail(Long uid, int page);
 
    /**
     * 其他消息数
     * 
     * @param uid
     * @return
     */
    public long countMsgOtherDetail(Long uid);
 
    /**
     * 设置所有消息已读
     * 
     * @param uid
     */
    public void readMsgByUid(Long uid);
 
    public void deleteByPrimaryKey(Long id);
 
    public MsgOtherDetail selectByPrimaryKey(Long id);
}