|
@@ -3598,16 +3598,6 @@
|
|
|
<if test='alarmYn != null and alarmYn == "N"'>
|
|
<if test='alarmYn != null and alarmYn == "N"'>
|
|
|
AND IA.INFORM_DT IS NULL
|
|
AND IA.INFORM_DT IS NULL
|
|
|
</if>
|
|
</if>
|
|
|
- <if test='condition != null and condition != "" '>
|
|
|
|
|
- <choose>
|
|
|
|
|
- <when test='search != null and search == "searchGoodsNm"'>
|
|
|
|
|
- AND UPPER(G.GOODS_NM) LIKE CONCAT(UPPER(#{condition}),'%')
|
|
|
|
|
- </when>
|
|
|
|
|
- <when test='search != null and search == "searchGoodsCd"'>
|
|
|
|
|
- AND G.GOODS_CD LIKE CONCAT(UPPER(#{condition}),'%')
|
|
|
|
|
- </when>
|
|
|
|
|
- </choose>
|
|
|
|
|
- </if>
|
|
|
|
|
<if test='conditionList != null and conditionList.length>0'>
|
|
<if test='conditionList != null and conditionList.length>0'>
|
|
|
<choose>
|
|
<choose>
|
|
|
<when test='search != null and search == "searchGoodsCd"'>
|
|
<when test='search != null and search == "searchGoodsCd"'>
|
|
@@ -4867,9 +4857,13 @@
|
|
|
<if test="brandCd != null and brandCd != ''">
|
|
<if test="brandCd != null and brandCd != ''">
|
|
|
AND B.BRAND_CD = #{brandCd}
|
|
AND B.BRAND_CD = #{brandCd}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="goodsCd != null and goodsCd != ''">
|
|
|
|
|
- AND Z.GOODS_CD = #{goodsCd}
|
|
|
|
|
- </if>
|
|
|
|
|
|
|
+ <if test='conditionList != null and conditionList.length>0'>
|
|
|
|
|
+ AND (
|
|
|
|
|
+ <foreach collection="conditionList" item="item" index="index" separator="or">
|
|
|
|
|
+ Z.GOODS_CD LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ )
|
|
|
|
|
+ </if>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<!-- WMS입고단품목록 -->
|
|
<!-- WMS입고단품목록 -->
|
|
@@ -4916,9 +4910,13 @@
|
|
|
<if test="brandCd != null and brandCd != ''">
|
|
<if test="brandCd != null and brandCd != ''">
|
|
|
AND B.BRAND_CD = #{brandCd}
|
|
AND B.BRAND_CD = #{brandCd}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="goodsCd != null and goodsCd != ''">
|
|
|
|
|
- AND Z.GOODS_CD = #{goodsCd}
|
|
|
|
|
- </if>
|
|
|
|
|
|
|
+ <if test='conditionList != null and conditionList.length>0'>
|
|
|
|
|
+ AND (
|
|
|
|
|
+ <foreach collection="conditionList" item="item" index="index" separator="or">
|
|
|
|
|
+ Z.GOODS_CD LIKE CONCAT(UPPER(#{item}),'%')
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ )
|
|
|
|
|
+ </if>
|
|
|
ORDER BY LOTNO, DATEINCOME, SKUCODE
|
|
ORDER BY LOTNO, DATEINCOME, SKUCODE
|
|
|
) Q
|
|
) Q
|
|
|
LIMIT #{pageable.limitStartRow} , #{pageable.pageSize}
|
|
LIMIT #{pageable.limitStartRow} , #{pageable.pageSize}
|