From 8c04d27e5cebb7e654c208533e9567c4df2c8acc Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 12 十二月 2019 14:21:44 +0800 Subject: [PATCH] 券时间限制 --- fanli/src/main/java/com/yeshi/fanli/service/inter/help/AppPageNotificationService.java | 48 +++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 41 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..94b0df8 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,44 @@ * @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); + + + public void updateByPrimaryKey(AppPageNotification record); } -- Gitblit v1.8.0