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