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);
|
}
|