Explorar el Código

전시 수정

bin2107 hace 5 años
padre
commit
c9f3edb5d6

+ 1 - 20
src/main/java/com/style24/persistence/mybatis/shop/TsfDisplay.xml

@@ -650,13 +650,7 @@
 		            ELSE
 		                FILTER_CD
 		       END       AS FILTER_CD
-		<choose>
-		    <when test="cate1No == null and cate2No == null and cate3No == null and cate4No == null">
-		    </when>
-		    <otherwise>
 		     , DISP_ORD
-		    </otherwise>
-		</choose>
 		     , FILTER_NM
 		FROM   TB_CATE_FILTER
 		WHERE  SITE_CD = #{siteCd}
@@ -665,10 +659,6 @@
 		AND    FORMAL_GB = #{formalGb}
 		</if>
 		AND    BRAND_GROUP_NO = #{brandGroupNo}
-		<choose>
-		  <when test="cate1No == null and cate2No == null and cate3No == null and cate4No == null">
-		  </when>
-		  <otherwise>
 		  AND    CATE_NO = CASE WHEN IFNULL(#{cate4No},0) > 0 THEN
 		                                    #{cate4No}
 		                             ELSE
@@ -678,20 +668,11 @@
 		                                           CASE WHEN IFNULL(#{cate2No},0) > 0 THEN
 		                                                     #{cate2No}
 		                                                ELSE
-		                                                     #{cate1No}
+		                                                    IFNULL(#{cate1No},0)
 		                                            END
 		                                  END
 		                             END
-		  </otherwise>
-		</choose>
-		<choose>
-		    <when test='(brandGroupNo > 0 and cate1No == null and cate2No == null and cate3No == null and cate4No == null) or formalGb = "G009_20"'>
-		 ORDER  BY FILTER_GB
-		    </when>
-		    <otherwise>
 		 ORDER  BY FILTER_GB, DISP_ORD
-		    </otherwise>
-		</choose>
 	</select>
 	
 	<!-- 검색상품리스트 카테고리별 필터 목록 -->

+ 10 - 0
src/main/webapp/WEB-INF/views/mob/display/CategoryGoodsListFormMob.html

@@ -1161,6 +1161,16 @@
 
 	</script>
 
+	<script>
+		//(진행 중)
+		/* 210427_수정 : err 이미지 스크립트 */
+		function noneImg(noneSrc){
+			$(noneSrc).parents('.itemPic').css({'background':'url(/images/pc/thumb/bg_item_none.png)'});
+			$(noneSrc).css({'opacity':'0'});
+			//$(noneSrc).attr("src", no_src);
+		}
+	</script>
+
 
 </th:block>
 </body>

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/display/OutletMainFormMob.html

@@ -30,7 +30,7 @@
 									<div class="swiper-slide" th:each="item, status : ${planningList}">
 										<a th:href="${item.strVar1}">
 											<div class="img">
-												<img th:src="${@environment.getProperty('domain.image') + item.imgPath1}" alt="">
+												<img th:src="${@environment.getProperty('domain.image') + item.imgPath2}" alt="">
 											</div>
 											<div class="txtWrap">
 												<p th:text="${item.strTitle1}">오랫동안 기다려온<br>겨울세일 시작</p>

+ 1 - 1
src/main/webapp/biz/goods.js

@@ -114,7 +114,7 @@ var fnCreateGoodsList = function(result, ithrCd, contentLoc, goodsUrl, lastPage,
 			categoryGoodsList.push(item.goodsCd);
 		}
 
-		tag += '<div class="item_prod">';
+		tag += '<div class="item_prod" id="'+item.goodsCd+item.mainColorCd+'">';
 		tag += '	<div class="item_state';
 		if(!gagajf.isNull(item.sizes)){
 			var sizeArr = item.sizes.split(",");