From 8c93d2e3b22ac543f8f94c2cf0eb982258fb708b Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 07 十二月 2019 15:33:00 +0800 Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div --- fanli/src/main/java/com/yeshi/fanli/service/inter/help/AppPageNotificationService.java | 45 ++++++++++++++++++++++++++++++++++++++------- 1 files changed, 38 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..f8d8465 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,41 @@ * @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); } -- Gitblit v1.8.0