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