package com.yeshi.fanli.service.inter.msg;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.bus.msg.MsgMoneyDetail;
|
import com.yeshi.fanli.exception.msg.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);
|
}
|