From c8f11c229b87d1652b6da0b15576c166cd51eb8b Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 01 一月 2020 14:25:22 +0800
Subject: [PATCH] 首页悬浮图mapperbug修改,增加商品详情中的比例展示

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java
index c16f417..e45b8f1 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java
@@ -309,6 +309,12 @@
 	public List<SwiperPicture> getByBannerCardAndVersion(String card, String platform, int version) {
 		List<SwiperPicture> list = swiperPictureMapper.getByBannerCard(card);
 		filterSwipePicture(list, platform, version);
+		for (SwiperPicture picture : list) {
+			if (picture.isJumpNeedLogin() && picture.getJumpDetail() != null) {
+				picture.getJumpDetail().setNeedLogin(true);
+			}
+		}
+
 		return list;
 	}
 

--
Gitblit v1.8.0