From a6f34b99ee20e528b766c8ed5a61bd9c5aa0e7ae Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 16 十一月 2019 18:10:33 +0800
Subject: [PATCH] 淘宝相似商品推荐接口优化,根据商品ID搜索商品基本信息优化

---
 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