Browse Source

상품쿼리 upper 관련 수정

eskim 4 năm trước cách đây
mục cha
commit
3018b7b6a5

+ 3 - 3
src/main/java/com/style24/persistence/mybatis/shop/TsaStock.xml

@@ -9,7 +9,7 @@
 		              <when test='search != null and search == "searchGoodsCd"'>
 		        AND (
 		              <foreach collection="conditionList" item="item" index="index" separator="or">
-		               UPPER(G.GOODS_CD) LIKE CONCAT(#{item},'%') 
+		               G.GOODS_CD LIKE CONCAT(#{item},'%') 
 		              </foreach>
 		             )
 		              </when>
@@ -41,12 +41,12 @@
 		        AND 1 = 1
 		              </when>
 		              <otherwise>
-		        AND UPPER(G.REG_ID) LIKE CONCAT(#{item},'%')
+		        AND 1 = 1
 		              </otherwise>
 		            </choose>
 		        </if>
 		        <if test="goodsCd != null and goodsCd != ''">
-		        AND UPPER(G.GOODS_CD) LIKE CONCAT(#{goodsCd},'%')
+		        AND G.GOODS_CD LIKE CONCAT(#{goodsCd},'%')
 		        </if>
 		         <if test="goodsNm != null and goodsNm != ''">
 		        AND UPPER(G.GOODS_NM) LIKE CONCAT(#{goodsNm},'%')