From 51a4ff5d777028d52a19c314a99f796334cb7b51 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 23 十一月 2019 18:30:01 +0800 Subject: [PATCH] 配置文件修改 --- fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SpecialServiceImpl.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SpecialServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SpecialServiceImpl.java index 5aa8326..5a7ce9c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SpecialServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SpecialServiceImpl.java @@ -570,6 +570,26 @@ public List<Special> listByPlaceKey(String placeKey, Integer platform, Integer versionCode) { return specialMapper.listByPlaceKey(placeKey, null, platform, versionCode); } + + + @Override + public List<Special> listByPlaceKeyList(long start, int count, List<String> list, Integer platform, Integer versionCode) { + return specialMapper.listByPlaceKeyList(start, count, list, null, platform, versionCode); + } + + + @Override + public long countByPlaceKeyList(List<String> list, Integer platform, Integer versionCode) { + return specialMapper.countByPlaceKeyList(list, null, platform, versionCode); + } + + + @Override + @Cacheable(value = "specialCache", key = "'listByPlaceKeyHasLabel'+#start+'-'+#platform+'-'+#versionCode+'-'+#list") + public List<Special> listByPlaceKeyHasLabel(long start, int count, List<String> list, Integer platform, Integer versionCode) { + return specialMapper.listByPlaceKeyHasLabel(start, count, list, null, platform, versionCode); + } + /** * 澶勭悊 鏁版嵁 -- Gitblit v1.8.0