From 1fd8f11537bb74c1f7e611e35a766cbbd34eff05 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 07 十二月 2019 18:14:43 +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/impl/help/AppPageNotificationServiceImpl.java | 7 +++---- 1 files changed, 3 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..e360bd7 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 -- Gitblit v1.8.0