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