Bläddra i källkod

다다익선 등록 오류 수정

jsh77b 4 år sedan
förälder
incheckning
6bf8bb35b2
1 ändrade filer med 2 tillägg och 11 borttagningar
  1. 2 11
      src/main/java/com/style24/persistence/mybatis/shop/TsaMorebetter.xml

+ 2 - 11
src/main/java/com/style24/persistence/mybatis/shop/TsaMorebetter.xml

@@ -652,21 +652,12 @@
 					<foreach collection="multiSupplyCompCd" item="item" open="(" separator="," close=")">
 						#{item}
 					</foreach>
-					<if test="multiDefaultGoods != null and multiDefaultGoods.length>0">
-						AND GOODS_CD NOT IN ( ${applySql} )
-					</if>
-					UNION ALL
-				</if>
-				<if test="multiBrand!= null and multiBrand.length>0">
-					SELECT	GOODS_CD
-					      , 'G800_10' AS GOODS_GB
-					FROM	TB_GOODS
-					WHERE 	BRAND_CD IN
+					AND   BRAND_CD IN
 					<foreach collection="multiBrand" item="item" open="(" separator="," close=")">
 						#{item}
 					</foreach>
 					<if test="multiDefaultGoods != null and multiDefaultGoods.length>0">
-						AND GOODS_CD NOT IN (${applySql})
+						AND GOODS_CD NOT IN ( ${applySql} )
 					</if>
 					UNION ALL
 				</if>