package com.ks.daylucky.service;
|
|
import com.ks.daylucky.exception.ActivityDrawnRecieveNotifyInfoException;
|
import com.ks.daylucky.pojo.DO.ActivityDrawnRecieveNotifyInfo;
|
import com.ks.lib.common.exception.ParamsException;
|
|
public interface ActivityDrawnRecieveNotifyInfoService {
|
|
|
/**
|
* 添加通知
|
*
|
* @param notifyInfo
|
* @throws ParamsException
|
* @throws ActivityDrawnRecieveNotifyInfoException
|
*/
|
void addNotify(ActivityDrawnRecieveNotifyInfo notifyInfo) throws ParamsException, ActivityDrawnRecieveNotifyInfoException;
|
|
/**
|
* 获取需要显示的通知消息
|
*
|
* @param appId
|
* @param uid
|
* @param activityId
|
* @return
|
*/
|
ActivityDrawnRecieveNotifyInfo getShowNotifyInfo(Long appId, Long uid, Long activityId);
|
|
|
/**
|
* 设置通知已经显示
|
*
|
* @param id
|
*/
|
public void setNotifyShown(String id);
|
|
|
/**
|
* 根据主键获取
|
*
|
* @param id
|
* @return
|
*/
|
ActivityDrawnRecieveNotifyInfo selectByPrimaryKey(String id);
|
|
|
}
|