From 98b1a0affd69bbe63223c21fdd2c404e8bedfccb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 20 五月 2020 17:25:08 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into 2.1.2 --- fanli/src/main/java/com/yeshi/fanli/service/inter/help/AppPageNotificationService.java | 51 ++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 44 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/help/AppPageNotificationService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/help/AppPageNotificationService.java index 9b6473b..460ebe5 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/help/AppPageNotificationService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/help/AppPageNotificationService.java @@ -1,5 +1,7 @@ package com.yeshi.fanli.service.inter.help; +import java.util.List; + import com.yeshi.fanli.entity.bus.help.AppPageNotification; /** @@ -18,13 +20,6 @@ */ public AppPageNotification getAppPageNotificationByType(String type); - /** - * 閫氳繃绫诲瀷鑾峰彇鍏蜂綋鐨勯�氱煡 - * - * @param type - * @return - */ - public AppPageNotification getAppPageNotificationByTypeCache(String type); /** * 娣诲姞 @@ -32,5 +27,47 @@ * @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; } -- Gitblit v1.8.0