From 98e2112989d9a2ab734bcd429fb4945c33c64eef Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 17 十二月 2019 12:46:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/help/AppPageNotificationServiceImpl.java |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/help/AppPageNotificationServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/help/AppPageNotificationServiceImpl.java
index 85c946a..8bf81ca 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/help/AppPageNotificationServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/help/AppPageNotificationServiceImpl.java
@@ -25,11 +25,10 @@
 		return appPageNotificationMapper.selectByType(type);
 	}
 
-	@Cacheable(value = "configCache", key = "'getAppPageNotificationByType-'+#type")
+	@Cacheable(value = "configCache", key = "'getValidNotificationByTypeCache-'+#type")
 	@Override
-	public AppPageNotification getAppPageNotificationByTypeCache(String type) {
-
-		return appPageNotificationMapper.selectByType(type);
+	public AppPageNotification getValidNotificationByTypeCache(String type) {
+		return appPageNotificationMapper.selectValidByType(type);
 	}
 
 	@Override
@@ -55,6 +54,11 @@
 	}
 
 	@Override
+	public void updateByPrimaryKey(AppPageNotification record) {
+		appPageNotificationMapper.updateByPrimaryKey(record);		
+	}
+	
+	@Override
 	public void updateByPrimaryKeySelective(AppPageNotification record) {
 		appPageNotificationMapper.updateByPrimaryKeySelective(record);		
 	}

--
Gitblit v1.8.0