admin
2021-01-15 5405154d6979f1b50ce2d881bb164b1acca80b6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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);
 
 
}