|
|
@@ -569,6 +569,13 @@
|
|
|
</foreach>
|
|
|
)
|
|
|
</when>
|
|
|
+ <when test='search != null and search == "searchProductCode"'>
|
|
|
+ AND (
|
|
|
+ <foreach collection="conditionList" item="item" index="index" separator="or">
|
|
|
+ G.PRODUCT_CODE = #{item}
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </when>
|
|
|
<when test='search != null and search == "searchExtendGoodsCd"'>
|
|
|
AND 1 = 1
|
|
|
</when>
|
|
|
@@ -1000,6 +1007,7 @@
|
|
|
-- , E.CERT_ORGAN_NAME
|
|
|
, DATE_FORMAT(G.SELL_STDT, '%Y%m%d%H%i%S') AS SELL_STDT
|
|
|
, DATE_FORMAT(G.SELL_EDDT, '%Y%m%d%H%i%S') AS SELL_EDDT
|
|
|
+ , PRODUCT_CODE
|
|
|
FROM TB_GOODS G
|
|
|
INNER JOIN TB_BRAND B ON G.BRAND_CD = B.BRAND_CD
|
|
|
LEFT OUTER JOIN TB_DELV_FEE_POLICY D ON G.SUPPLY_COMP_CD = D.SUPPLY_COMP_CD
|
|
|
@@ -5096,6 +5104,23 @@
|
|
|
</foreach>
|
|
|
)
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test='conditionList2 != null and conditionList2.length>0'>
|
|
|
+ AND (
|
|
|
+ <foreach collection="conditionList2" item="item2" index="index" separator="or">
|
|
|
+ Z.PRODUCTNO LIKE CONCAT(UPPER(#{item2}),'%')
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </if>
|
|
|
+
|
|
|
+ <if test='conditionList3 != null and conditionList3.length>0'>
|
|
|
+ AND (
|
|
|
+ <foreach collection="conditionList3" item="item3" index="index" separator="or">
|
|
|
+ Z.SKUCODE LIKE CONCAT(UPPER(#{item3}),'%')
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </if>
|
|
|
+
|
|
|
</select>
|
|
|
|
|
|
<!-- WMS입고단품목록 -->
|
|
|
@@ -5149,6 +5174,22 @@
|
|
|
</foreach>
|
|
|
)
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test='conditionList2 != null and conditionList2.length>0'>
|
|
|
+ AND (
|
|
|
+ <foreach collection="conditionList2" item="item2" index="index" separator="or">
|
|
|
+ Z.PRODUCTNO LIKE CONCAT(UPPER(#{item2}),'%')
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </if>
|
|
|
+
|
|
|
+ <if test='conditionList3 != null and conditionList3.length>0'>
|
|
|
+ AND (
|
|
|
+ <foreach collection="conditionList3" item="item3" index="index" separator="or">
|
|
|
+ Z.SKUCODE LIKE CONCAT(UPPER(#{item3}),'%')
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </if>
|
|
|
ORDER BY LOTNO, DATEINCOME, SKUCODE
|
|
|
) Q
|
|
|
LIMIT #{pageable.limitStartRow} , #{pageable.pageSize}
|