admin
2019-02-22 e358583d644fa39fc1e93b14b3cafff3644980e4
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
package org.fanli.facade.user.service.money;
 
import java.util.List;
 
import org.fanli.facade.user.entity.money.msg.MsgMoneyDetail;
import org.fanli.facade.user.exception.money.MsgMoneyDetailException;
 
public interface MsgMoneyDetailService {
    /**
     * 添加到资金消息
     * 
     * @param detail
     * @throws MsgMoneyDetailException
     */
    public void addMsgMoneyDetail(MsgMoneyDetail detail) throws MsgMoneyDetailException;
 
    /**
     * 资金消息列表
     * 
     * @param uid
     * @param page
     * @return
     */
    public List<MsgMoneyDetail> listMsgMoneyDetail(Long uid, int page);
 
    /**
     * 资金消息数
     * 
     * @param uid
     * @return
     */
    public long countMsgMoneyDetail(Long uid);
    
    /**
     * 设置所有消息已读
     * 
     * @param uid
     */
    public void readMsgByUid(Long uid);
}