Browse Source

옵션 정렬순서 수정

tsit05 4 years ago
parent
commit
a6a7088871
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/style24/persistence/mybatis/shop/TsfGoods.xml

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

@@ -314,7 +314,7 @@
 		<if test='optionSoldoutSkip != null and optionSoldoutSkip == "Y" '>
 		AND A.STOCK_QTY > 0
 		</if>
-		ORDER BY A.GOODS_CD, NULLIF(C.COLOR_KNM, A.OPT_CD1)
+		ORDER BY A.GOODS_CD, IFNULL(C.COLOR_KNM, A.OPT_CD1)
 	</select>
 		
 	<!-- 상품 옵션2 목록  - 자사용-->