package com.yeshi.fanli.service.inter.user.msg;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.dto.msg.MsgAccountVipDTO;
|
import com.yeshi.fanli.entity.bus.msg.MsgAccountDetail;
|
import com.yeshi.fanli.exception.msg.MsgAccountDetailException;
|
|
public interface MsgAccountDetailService {
|
|
/**
|
* 添加到账户消息
|
*
|
* @param detail
|
* @throws MsgAccountDetailException
|
*/
|
public void addMsgAccountDetail(MsgAccountDetail detail) throws MsgAccountDetailException;
|
|
/**
|
* 账户消息列表
|
*
|
* @param uid
|
* @param page
|
* @return
|
*/
|
public List<MsgAccountDetail> listMsgAccountDetail(Long uid, int page);
|
|
/**
|
* 账户消息数
|
*
|
* @param uid
|
* @return
|
*/
|
public long countMsgAccountDetail(Long uid);
|
|
/**
|
* 设置所有消息已读
|
*
|
* @param uid
|
*/
|
public void readMsgByUid(Long uid);
|
|
/**
|
* 会员升级消息
|
* @param uid
|
* @param title
|
* @param beiZhu
|
* @param dto
|
*/
|
public void addMsgVIP(Long uid, String title, String beiZhu, MsgAccountVipDTO dto);
|
|
public void deleteByPrimaryKey(Long id);
|
|
public MsgAccountDetail selectByPrimaryKey(Long id);
|
|
}
|