Просмотр исходного кода

다이스퀘 null, 테스트 데이터 보완

jmh 4 лет назад
Родитель
Сommit
2d94a8c3b4

+ 1 - 0
src/main/java/com/style24/persistence/mybatis/shop/TsfGoods.xml

@@ -4031,6 +4031,7 @@
 		      LEFT OUTER JOIN TB_WISHLIST W ON Z.ITEM_ID = W.GOODS_CD
 		                                   AND IFNULL(#{custNo}, 0) = W.CUST_NO
 		      ORDER  BY Z.RK) X
+		WHERE IMAGE_URL IS NOT NULL AND IMAGE_URL != 'null'
 		GROUP BY X.ITEM_ID
 		       , X.IMAGE_URL
 		       , X.ITEM_NAME

+ 2 - 2
src/main/resources/config/application-locd.yml

@@ -127,5 +127,5 @@ kakao:
 # 검색엔진(NHN다이퀘스트)
 search:
     engine:
-        diquest.ip: 172.30.89.120
-        diquest.port: 5555
+        diquest.ip: 133.186.171.33
+        diquest.port: 44555

+ 6 - 4
src/main/webapp/WEB-INF/views/mob/display/SearchLayerMob.html

@@ -423,11 +423,13 @@
 			$("#popularKeyArea").html('');
 
 			trendKeywordList.forEach(function (item, idx) {
-				var tag = '';
-				if (idx < 10) {
-					tag += '	<a href="javascript:void(0);" onclick="fnSearchKeyword(\''+item.keyword+'\');">'+ item.keyword +'</a>';
+				if(item.keyword.indexOf("테스트") < 0){
+					var tag = '';
+					if (idx < 10) {
+						tag += '	<a href="javascript:void(0);" onclick="fnSearchKeyword(\''+item.keyword+'\');">'+ item.keyword +'</a>';
+					}
+					$("#popularKeyArea").append(tag);
 				}
-				$("#popularKeyArea").append(tag);
 			});
 		}else{
 			$("#popularKeyArea").html('');

+ 1 - 0
src/main/webapp/WEB-INF/views/web/display/BrandSearchLayerWeb.html

@@ -126,6 +126,7 @@
 	/*<![CDATA[*/
 	var enterBool = false;
 	var fnClose = function() {
+		$("body").removeClass("lock");
 		$("#brand_layer_search").removeClass('active');
 	}
 	

+ 9 - 6
src/main/webapp/WEB-INF/views/web/display/SearchLayerWeb.html

@@ -143,6 +143,7 @@
 	var trendKeywordList = [[${trendKeywordList.trendList}]];
 
 	var fnClose = function() {
+		$("body").removeClass("lock");
 		$("#layer_search").removeClass('active');
 	}
 	
@@ -221,13 +222,15 @@
 		if (trendKeywordList.length > 0) {
 			$("#popularKeyArea").html('');
 			trendKeywordList.forEach(function (item, idx) {
-				var tag = '';
-				if (idx < 10) {
-					tag += '<li>';
-					tag += '	<a href="javascript:void(0);" onclick="fnSearchKeyword(\''+item.keyword+'\');">'+ item.keyword +'</a>';
-					tag += '</li>';
+				if(item.keyword.indexOf("테스트") < 0){
+					var tag = '';
+					if (idx < 10) {
+						tag += '<li>';
+						tag += '	<a href="javascript:void(0);" onclick="fnSearchKeyword(\''+item.keyword+'\');">'+ item.keyword +'</a>';
+						tag += '</li>';
+					}
+					$("#popularKeyArea").append(tag);
 				}
-				$("#popularKeyArea").append(tag);
 			});
 		}else{
 			$("#popularKeyArea").html('');