Browse Source

首页BUG修复

anderx 8 years ago
parent
commit
f5c7a18ea1

+ 3 - 3
src/main/java/com/goafanti/common/mapper/MarketingManagementMapper.xml

@@ -368,7 +368,7 @@ where x.audit_status = 3
 	and x.deleted_sign = 0
 	and ap.publish_client='0'
 	and ap.publish_page='W01'
-	and bi.platform_url like '%#{url,jdbcType=VARCHAR}%'
+	and bi.platform_url like "%"#{url,jdbcType=VARCHAR}"%"
   	</if>
   	<if test="category == 2"> <!-- 需求 -->
   		select x.id as productId,x.data_category as ownerType,x.name,x.picture_url as coverImg,x.problem_des
@@ -379,7 +379,7 @@ where x.audit_status = 3
 			and x.deleted_sign = 0
 	and dp.publish_client='0'
 	and dp.publish_page='W01'
-	and bi.domain_name like '%#{url,jdbcType=VARCHAR}%' 
+	and bi.domain_name like "%"#{url,jdbcType=VARCHAR}"%" 
   	</if>
   	<if test="category == 7"> <!-- 智者 -->
   		select 
@@ -396,7 +396,7 @@ where x.audit_status = 3
 		i.expert = 1	
 		and ep.publish_client='0'
 		and ep.publish_page='W01'
-		and bi.domain_name like '%#{url,jdbcType=VARCHAR}%' 
+		and bi.domain_name like "%"#{url,jdbcType=VARCHAR}"%" 
 		
   	</if>
   </select>

+ 2 - 0
src/main/webapp/WEB-INF/views/portal/index.html

@@ -23,6 +23,8 @@
 					th:src="${portalHost+'/img/index_banner04.jpg'}" alt="" /></a></li>
 			 <li data-index=4><a href=""><img
                     th:src="${portalHost+'/img/index_banner05.jpg'}" alt="" /></a></li>
+               <li data-index=5><a href=""><img
+                    th:src="${portalHost+'/img/index_banner06.jpg'}" alt="" /></a></li>
 		</ul>
 		<ul class="ct-img-small clear">