From 0ec22dcf4fd9c4496e6f681e7fab89f56c6e4e8a Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期四, 02 四月 2020 14:45:20 +0800
Subject: [PATCH] vip 消息

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/config/SuperHotSearchSerivceImpl.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/config/SuperHotSearchSerivceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/config/SuperHotSearchSerivceImpl.java
index 01114e4..aaaa99b 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/config/SuperHotSearchSerivceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/config/SuperHotSearchSerivceImpl.java
@@ -23,8 +23,8 @@
 	@Resource
 	private BusinessSystemService businessSystemService;
 
-	public List<SuperHotSearch> getSuperHotSearchBySystemId(long id) {
-		return superHotSearchMapper.listBySystemId(id);
+	public List<SuperHotSearch> getSuperHotSearchBySystemId(long id, Integer useType) {
+		return superHotSearchMapper.listBySystemId(id, useType);
 	}
 
 	
@@ -38,9 +38,9 @@
 	
 
 	@Override
-	@Cacheable(value = "crgCache", key = "'getSuperHotSearchBySystemIdCache'+#id")
-	public List<SuperHotSearch> getSuperHotSearchBySystemIdCache(long id) {
-		return getSuperHotSearchBySystemId(id);
+	@Cacheable(value = "crgCache", key = "'getSuperHotSearchBySystemIdCache-'+#id+'-'+#useType")
+	public List<SuperHotSearch> getSuperHotSearchBySystemIdCache(long id, Integer useType) {
+		return getSuperHotSearchBySystemId(id, useType);
 	}
 
 	

--
Gitblit v1.8.0