yujian
2020-01-08 81ed418ee16df24b768a3f78cd22d02f020d6314
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.yeshi.fanli.service.inter.help;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.help.AppPageNotification;
 
/**
 * 客户端APP页面通知
 * 
 * @author Administrator
 *
 */
public interface AppPageNotificationService {
 
    /**
     * 通过类型获取具体的通知
     * 
     * @param type
     * @return
     */
    public AppPageNotification getAppPageNotificationByType(String type);
 
 
    /**
     * 添加
     * 
     * @param apn
     */
    public void addAppPageNotification(AppPageNotification apn) throws Exception;
    
    /**
     * 选择性插入
     * @param record
     */
    public void insertSelective(AppPageNotification record);
    
    /**
     * 选择性更新
     * @param record
     */
    public void updateByPrimaryKeySelective(AppPageNotification record);
    
    /**
     * 根据主键查询
     * @param id
     * @return
     */
    public AppPageNotification selectByPrimaryKey(Long id);
    
    /**
     * 根据主键批量删除
     * @param list
     * @return
     */
    public int deleteBatchByPrimaryKey(List<Long> list);
    
    /**
     * 后端列表查询
     * @return
     */
    public List<AppPageNotification> listQuery(long start, int count,String key, Integer show, Integer canClose);
    
    public long countQuery(String key, Integer show, Integer canClose);
 
    public AppPageNotification getValidNotificationByTypeCache(String type, String platform, Integer versionCode);
 
 
    public void updateByPrimaryKey(AppPageNotification record);
 
 
    public void setVersions(Long id, List<Long> versions) throws Exception;
 
}