|
|
@@ -167,7 +167,7 @@
|
|
|
<when test='search != null and search == "searchGoodsCd"'>
|
|
|
AND (
|
|
|
<foreach collection="conditionList" item="item" index="index" separator="or">
|
|
|
- UPPER(G.GOODS_CD) LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
+ G.GOODS_CD LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
</foreach>
|
|
|
)
|
|
|
</when>
|
|
|
@@ -199,12 +199,12 @@
|
|
|
AND 1 = 1
|
|
|
</when>
|
|
|
<otherwise>
|
|
|
- AND UPPER(G.REG_ID) LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
+ AND UPPER(G.REG_NO) LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
</if>
|
|
|
<if test="goodsCd != null and goodsCd != ''">
|
|
|
- AND UPPER(G.GOODS_CD) LIKE CONCAT(UPPER(#{goodsCd}),'%')
|
|
|
+ AND G.GOODS_CD LIKE CONCAT(UPPER(#{goodsCd}),'%')
|
|
|
</if>
|
|
|
<if test="goodsNm != null and goodsNm != ''">
|
|
|
AND UPPER(G.GOODS_NM) LIKE CONCAT(UPPER(#{goodsNm}),'%')
|
|
|
@@ -1491,7 +1491,7 @@
|
|
|
INNER JOIN TB_SUPPLY_COMPANY S ON G.SUPPLY_COMP_CD = S.SUPPLY_COMP_CD
|
|
|
WHERE 1 = 1
|
|
|
<if test="goodsCd != null and goodsCd != ''">
|
|
|
- AND UPPER(G.GOODS_CD) = CONCAT(UPPER(#{goodsCd}),'%')
|
|
|
+ AND G.GOODS_CD = CONCAT(UPPER(#{goodsCd}),'%')
|
|
|
</if>
|
|
|
<if test="supplyCompCd != null and supplyCompCd != ''">
|
|
|
AND G.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
|
@@ -1588,7 +1588,7 @@
|
|
|
INNER JOIN TB_SUPPLY_COMPANY S ON G.SUPPLY_COMP_CD = S.SUPPLY_COMP_CD
|
|
|
WHERE 1 = 1
|
|
|
<if test="goodsCd != null and goodsCd != ''">
|
|
|
- AND UPPER(G.GOODS_CD) = UPPER(#{goodsCd})
|
|
|
+ AND G.GOODS_CD = UPPER(#{goodsCd})
|
|
|
</if>
|
|
|
<if test="supplyCompCd != null and supplyCompCd != ''">
|
|
|
AND G.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
|
@@ -1673,7 +1673,7 @@
|
|
|
<choose>
|
|
|
<when test='search != null and search == "searchGoodsCd"'>
|
|
|
<foreach collection="conditionList" item="item" index="index" separator="or">
|
|
|
- UPPER(G.GOODS_CD) LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
+ G.GOODS_CD LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
</foreach>
|
|
|
</when>
|
|
|
<when test='search != null and search == "searchGoodsNm"'>
|
|
|
@@ -2387,7 +2387,7 @@
|
|
|
<if test='condition != null and condition != "" '>
|
|
|
AND (UPPER(A.GOODS_NUM) LIKE CONCAT(UPPER(#{condition}),'%')
|
|
|
OR
|
|
|
- UPPER(A.GOODS_CD) LIKE CONCAT(UPPER(#{condition}),'%')
|
|
|
+ A.GOODS_CD LIKE CONCAT(UPPER(#{condition}),'%')
|
|
|
OR
|
|
|
UPPER(A.SUPPLY_GOODS_CD) LIKE CONCAT(UPPER(#{condition}),'%')
|
|
|
)
|
|
|
@@ -2604,7 +2604,7 @@
|
|
|
<when test='search != null and search == "searchProductNo"'>
|
|
|
AND (
|
|
|
<foreach collection="conditionList" item="item" index="index" separator="or">
|
|
|
- UPPER(G.PRODUCT_NO) = UPPER(#{item})
|
|
|
+ G.PRODUCT_NO = #{item}
|
|
|
</foreach>
|
|
|
)
|
|
|
</when>
|