From b3da9f82b7740d39742fef1a81a56c22fe1c8b9c Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期一, 08 六月 2020 17:27:02 +0800 Subject: [PATCH] 券后价调整 --- 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