|
@@ -53,6 +53,12 @@
|
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="multiSupplyCompCd != null and multiSupplyCompCd != ''">
|
|
|
|
|
+ AND OD.SUPPLY_COMP_CD IN
|
|
|
|
|
+ <foreach collection="multiSupplyCompCd" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
|
AND G.BRAND_CD IN
|
|
AND G.BRAND_CD IN
|
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
@@ -179,10 +185,16 @@
|
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="multiSupplyCompCd != null and multiSupplyCompCd != ''">
|
|
|
|
|
+ AND OD.SUPPLY_COMP_CD IN
|
|
|
|
|
+ <foreach collection="multiSupplyCompCd" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
|
AND G.BRAND_CD IN
|
|
AND G.BRAND_CD IN
|
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
|
|
|
|
+ #{item}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</if>
|
|
</if>
|
|
|
<if test="ordDtlStat != null and ordDtlStat != ''">
|
|
<if test="ordDtlStat != null and ordDtlStat != ''">
|
|
@@ -494,10 +506,16 @@
|
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="multiSupplyCompCd != null and multiSupplyCompCd != ''">
|
|
|
|
|
+ AND OD.SUPPLY_COMP_CD IN
|
|
|
|
|
+ <foreach collection="multiSupplyCompCd" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
|
AND G.BRAND_CD IN
|
|
AND G.BRAND_CD IN
|
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
|
|
|
|
+ #{item}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</if>
|
|
</if>
|
|
|
<if test='chgGb != null and chgGb != ""'>
|
|
<if test='chgGb != null and chgGb != ""'>
|
|
@@ -602,10 +620,16 @@
|
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
<if test='supplyCompCd != null and supplyCompCd != ""'>
|
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
AND OD.SUPPLY_COMP_CD = #{supplyCompCd}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="multiSupplyCompCd != null and multiSupplyCompCd != ''">
|
|
|
|
|
+ AND OD.SUPPLY_COMP_CD IN
|
|
|
|
|
+ <foreach collection="multiSupplyCompCd" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
<if test="multiBrand != null and multiBrand != ''">
|
|
|
AND G.BRAND_CD IN
|
|
AND G.BRAND_CD IN
|
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
<foreach collection="multiBrand" item="item" index="index" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
|
|
|
|
+ #{item}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</if>
|
|
</if>
|
|
|
<if test='chgGb != null and chgGb != ""'>
|
|
<if test='chgGb != null and chgGb != ""'>
|